On Sep 6, 2006, at 5:37 AM, Venkateshprasanna wrote:
How does PhraseQuery search for quoted phrases when the index does not store
these phrases as it is?

Is there any analyzer that indexes the phrases?

The analyzer is responsible for some additional data about terms, specifically in this case a position increment. All built-in analyzers use a position increment of 1 for each term, meaning that each term is in a successive position than the previous one. PhraseQuery looks for all terms in the phrase in successive positions (or within a certain slop factor distance from one another).

        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to