|
Thanks for looking into it. Sounds like a Lucene bug. We (dev team) should take a closer look at it. Lets really dig into this one and make sure that this is not something that we are doing wrong. If it is a Lucene bug then lets raise it or link it. I am try to use lucene-2.1.0 from apache.org, but have this exception on reindexing (JIRA 3.9.1): than rollback to 1.9.1... In which version this bug will be fixed? Andrey, JIRA is not currently compatible with lucene 2.1. I am not sure that upgrading Lucene will fix this problem. At the moment, unfortunately, I cannot provide a release date for this bug, as we do not have a large number of Russian users, and I assume only a few from the group that we have, see this bug. One thing that might help you at the moment is setting the Indexing language to "Other", rather than "Russian", then reindexing your data. I would suggest testing this in a test system first, before trying it in production. The side affect of setting the indexing language to "Other" is that stemming will not be performed on the words, and hence searching will only match exact words, rather than look for word roots. I am not sure if this will actually impact you in any serious way, as that depends on how you search most often. We will update this issue as soon as we have more information. Please accept our apologies for the delay. Cheers, Anton, thanks, this solution works, but it is not the best way for solve problem - searching for parts of words in summary and comments not works for russian text. We use this solution as temporary, but waiting for proper solution of this problem. Is really too much changes needed for fix russian lucene library bug? Audrey, You will need to copy this file over the existing class file. Cheers, Nick, thanks, its works!!! The fix for this issue has not been able to make it into JIRA v3.12. We are hoping to incorporate it into v3.12.1. As of writing however, there are 163 items scheduled as Fix For v3.12.1. We will not be able to include all of them. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
It looks like the RussianAnalyzer doesn't quite like numbers. Say, if I have an issue with summary Love 007,
The search query 007 will be converted to:
{org.apache.lucene.search.BooleanQuery@6614}"(() ()) (()^9.0)"Love 007 will be converted to:
{org.apache.lucene.search.BooleanQuery@6681}"(summary:love description:love) summary:love^9.0"–
Cheers,
Yuen-Chi Lian
"I do not seek. I find." - Pablo Picasso