Hello:
We are having trouble using proximity search syntax. It seems to be returning overly-broad results and behaving more like an OR operator, in that low proximity distance searches are getting hits even though the words co-occur farther apart than the word distance we specify.
For example:
comment ~ '"solar footing"~5'
The terms 'solar' and 'footing' occur just once in the issue within a comment and are 15 words apart. Adjusting the proximity distance even down to 1 still results in the issue being found by the search, even though the terms do not occur that closely. We would expect to see:
comment ~ '"solar footing"~5' --- returns zero hits.
comment ~ '"solar footing"~20' --- returns one hit.
Any help is appreciated. Thanks!
I believe that you are seeing a change to the way that proximity searches work in Jira Cloud now. Please see the details in Search syntax for text fields: Term searches - Jira Core Cloud Documentation
Unsupported term searches:
- A single character search ( ? ) will automatically convert to a wildcard search ( * ) at the end of the term.
- Operators for fuzzy search ( ~ ), proximity search, and term boosting ( ^ ) no longer have an affect on searches. When these operators are present in a search, they will be ignored.
The documentation has been updated recently to indicate that the use of proximity searches in Jira Cloud is now unsupported. Which would explain the behavior you have reported here. Sorry there does not appear to be a way to make this work in Jira Cloud natively today. Perhaps there is a plugin in marketplace that might be able to help provide some kind of similar search functionality in Cloud.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.