Re: Modifying the PrefixQuery

2006-10-02 Thread Chris Hostetter
: I want to modify the PrefixQuery so that it instead of casting the : TooManyBooleanClause exception takes out the most frequent N terms : matching the prefix and only searches for those. Is this possible? It should be ... look at the rewrite method of PrefixQuery and the docFreq method of TermE

Modifying the PrefixQuery

2006-10-02 Thread Marcus Falck
I want to modify the PrefixQuery so that it instead of casting the TooManyBooleanClause exception takes out the most frequent N terms matching the prefix and only searches for those. Is this possible? / Regards Marcus