> http://www.lucene.com/cgi-bin/faq/faqmanager.cgi?file=chapter.search&toc=faq
> #q5
>
> (now it also include the PrefixQuery).
Some mistakes here:
>The syntax above is for strings the query parser expect to find AFTER
passing the query string through the analyzer in use. If your
analyzer may drop (e.g. StopFilter) or add tokens, this may result in
trying to parse an invalid string.
Not correct. The query parser passes the term text through the
analyzer, and knows how to deal with the case where the analyzer drops
terms or expands terms.
With respect to the new support for prefix query, you should note that:
- if a prefix is included, then the associated string won't get processed
by the analyzer
- You can't put a prefix term inside a phrase ("foo* bar")
_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev