For instances if I do a simple search for "dist" I get 2 results. "distr" gives 0 results but "distract" gives 96 issues.
This seems very illogical to me. Is it a bug or am I doing something wrong.
I have tried re-indexing JIRA but it did not do any difference.
This is down to the "word stemming" in the Lucene search. I don't know the exact rules, but I suspect
You can turn off word stemming at Admin -> General Configuration,
But be warned that if you do, it really will stop stemming, so you won't get any partial words or cross over from American English into English and so on. For example Americans use "customized colors", and the English phrase is "customised colours", so a search for "customised" and "colors" will find nothing (a stemmed search should find both phrases)
Yes stemming seems to explain it. I read a bit up on Lucene search, and I am just surprised that you can search for any kind of partial word. Is there any way to make JIRA actualy just find the the given substring? When I use the "~" (contains) operator I expect it to find all the places where that substring is found.
I think ~ needs to be told more, I don't think "contains" is strictly the right way to describe it. It's not quite a "like" either, so I don't want to use that word either. If you use "~ colour", I'd expect to see color, colour, colors and colours pulled out, but not words like colourisation. But if you said "~ "colour*" ", then I would. The difference is that without the wild-card, I think it just looks for the whole word you give it (plus stems), but with the wildcard, it'll behave more like a substring search. So, where " ~ distr " gets you nothing, try " ~ "distr*" " and I think you might have more luck, with it pulling out distribution, district, distress and so-on
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG