I think you are looking for a "free text" query parser. Essentially, it would
use the analyzer chain, but then turn the token stream into a query tree. Very
useful if you are searching for a band named "+/-".
wunder
On Nov 25, 2009, at 12:00 PM, Chris Hostetter wrote:
>
> : I think the answer
: I think the answer to my question is contained in the wiki when discussing
: the SynonymFilter, "The Lucene QueryParser tokenizes on white space before
: giving any text to the Analyzer". This would indeed explain what I am
: getting. Next question - can I avoid that behavior?
it's the nature
term "word 3".
> However, I find I have to submit the query as 'commafld:("word 3")'. That
> is, it seems as if whitespace tokenization is taking place, not the
> comma-delimited tokenization.
>
> Am I misunderstanding what should be happening or making
if whitespace tokenization is taking place, not the comma-delimited
tokenization.
Am I misunderstanding what should be happening or making some basic mistake?
Thanks.
--
View this message in context:
http://old.nabble.com/PatternTokenizer-question-tp26497675p26497675.html
Sent from the Solr - User mailing list archive at Nabble.com.