Re: Query Analyzer Issue

2007-08-31 Thread sandeep chawla
Which analyzer are you using in your query parser ? can you share the one line of code in which you construct a QueryParser Object. As you might be parsing a query string made of different fields, I suggest you use a PerFieldAnalyzerWrapper which lets you do unique analysis for different fie

Re: Query Analyzer Issue

2007-08-31 Thread Kalvir Sandhu
You should test your Analyzer to confirm what tokens are being produced. You can do this by using a helper class, to save time there is one written in the Lucene in Action book called AnalyzerUtils, you should be able to get it out of the download of sourcecode from the book here: http://www.lucene