lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Modifying the PrefixQuery
Date Mon, 02 Oct 2006 18:00:12 GMT

: 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 TermEnum.


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

View raw message