It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Search word order is probably wrong

Dominic_Lagger Community Leader Aug 27, 2019

Hi all

I have a question about seraching in confluence with the "AND" operator.

I have a confluence page, which contains these labels "twips" and "608" and some more. See picture below:

labels.png

 

Now, whern I search with "608 AND twips", I get the page as an result. See picture below:

608_and_twips.png

 

When I search with "twips and 608", I get no results. See picture below:

twips_and_608.png

 

What's the problem? Does anyone have any suggestions? 

That has to be a bug... I mean, it cannot be that I must pay attention to the order of the words... 

Thanks for any answer.

Regards, Dominic

1 answer

1 accepted

0 votes
Answer accepted
Davin_Studer Community Leader Aug 28, 2019

When you put quotes around a search it does an exact phrase search. The "and" is most likely being thrown out of the exact phrase search as it is on the list of common words. Thus the exact phrase search works in the first example because that is the page order and the exact phrase search doesn't work in the second example because it is not in that order.

What you probably mean to do is this ...

608 AND twips

or even better ...

labelText:608 AND labelText:twips 

When you use AND in a search it must be capitalized to be understood as a boolean operator. Otherwise it will be discarded as a common word. The same goes for OR and NOT.

Dominic_Lagger Community Leader Aug 28, 2019

Hi @Davin_Studer 

Oh okay, I see. I tried it out and it works fine. I was confused, beacause in the help every search statement is in quotes :-) 

Thanks for your replay. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you