zberentey/liferay-portal — pull request #122 by lipusz (2012-07-25 15:31:24+00:00)
Title: [TECHNICAL-SUPPORT] LPS-27862 Lucene provides unrelevant result documents for searches when display locale is not the default and the query term occurs only in the default locale version of the given entry

Hi Zsolt,

I fixed LuceneIndexSearcherImpl similarly to Solr (LPS-28599). I also reorganized the setters of "hits" accordingly our patterns.
This commit fixes the "unrelevant results" problem and also avoids the regression bug reported by LPS-28599.
Tested with WC (different locales), Wiki, MessageBoards, Blogs. Works as expected.
-
Tibor