lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Urgent : Specific string query search
Date Thu, 16 Nov 2006 20:22:19 GMT

: As far as I know, WhiteSpaceAnalyzer does support the field:text format. Try

More specificaly, the bit of syntax  field:value  ...or more generally
field:"some longer value" is parsed by QueryParser regardless of what
Analyzer you use.  QP is what extracts the field name and the colon, and
then gives the Analyzer the string:  some longer value

pay carefull attention that when you say "XXXX dosn't work with
WhitespaceAnalyzer" that you are using WhitespaceAnalyzer both when you
index your text and when you query (ie: set it on the IndexWriter, and on
the QueryParser) otherwise there will be a large disconnect between the
terms in your index, and the TermQueries the QueryPArser gives you...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message