Re: Not getting desired result through TermQuery

2018-07-18 Thread baris . kazar
My problem seems similar to this one. i make sure index has all lower cased and TermQuery search term also gets all lower cased. i tokenize the search string since index uses standardtokenizer and standardfilter and lowecasefilter and asciifoldingfilter. My index uses standardtokenizer and

Re: Not getting desired result through TermQuery

2018-07-18 Thread Michael Sokolov
It's impossible to tell for sure from the info you provided -- attachments are not included in messages on this mailing list - but my guess is that when you use the QueryParser api you are getting a query that has the benefit of text processing using an Analyzer (lower-casing and other text transfo