Re: Using lucene queries to search StringFields

2015-06-21 Thread Jack Krupansky
Unlike Solr, which customizes the query parser to do field-specific analysis, and only analyzes tokenized fields, not string fields, the Lucene query parser will unconditionally analyze every query term for every field using the single specified analyzer, which is the white space analyzer in this

Re: Using lucene queries to search StringFields

2015-06-21 Thread Gimantha Bandara
@Sheng I am using StandardAnalyzer @Ahmet I know using the query object will simply work. But I hae a requirement where the user insert the whole String and i want to return the doc which exactly match the given text On Fri, Jun 19, 2015 at 9:23 PM, Sheng sheng...@gmail.com wrote: 1. What is