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

Not getting desired result through TermQuery

2018-07-16 Thread Ashish Parab
Hi Team, I am new to Lucene and been exploring Lucene 7.4.0 for past few months. please take a look at attached IndexFiles.java, in which I am indexing all the files present under specified folder. also for every document, a field namely ashish is stored. now the indexing is ready, I am trying