I cannot get exact match search to work

Andy Hockey January 28, 2020

I'm looking for the phrase "Waiting for first successful write" in confluence. However it just returns a load of partial match and documents that have those words scattered throughout.

If I wanted those other results I would not have added the quotes. How do I only return matches with that phrase in it?

 

 

1 answer

0 votes
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2020

Hi @Andy Hockey 

Some words are considered as "stop words" and may influence how "exact search" works. Please see this issue https://jira.atlassian.com/browse/CONFSERVER-14910 and https://confluence.atlassian.com/display/ConfCloud/Confluence+Search+Syntax for more details

Andy Hockey January 29, 2020

I have found a list of stop words, but not through the above link. The onward link from there redirects to o'reily media and is out of date. Where do a raise a Jira for this?

So I spent my own time searching for a answer and this stackoverflow page gives an answer https://stackoverflow.com/questions/17527741/what-is-the-default-list-of-stopwords-used-in-lucenes-stopfilter

The words are:

"a", "an", "and", "are", "as", "at", "be", "but", "by",
"for", "if", "in", "into", "is", "it",
"no", "not", "of", "on", "or", "such",
"that", "the", "their", "then", "there", "these",
"they", "this", "to", "was", "will", "with"

Assuming this is correct, then why when I search for the exact phrase "Module Choose File" I still receive a lot of results and the results with that exact phrase is the second returned result and not the first. It returns 52 results. If the exact phrase I'm searching for is not the first result how do I know it's not the 52nd result and the rest of the results are things I have not searched for?

Also the third result has the words 'files' and 'chooser' highlighted which are not even words in the original phrase.

Like Richard Broadhurst likes this
Richard Broadhurst July 20, 2023

You will also find hyphenation being ignored and worse creating two new word vaiants to search for!
We have a handful of pages with a certain phrase on them, but searching for it returns several thousand pages and I have never got far enough to find any of the pages in question.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events