I am not sure, BooleanQuery takes something that can score, e.g. being a
Clause or a Query, the contract requires some sort of scoring functionality.
We use DocIdSetQuery for some of the scoring capabilities such as constant
score (with boosting), age decay, and using the new scoring api in 2.3.
Ma
Op Wednesday 25 June 2008 18:45:16 schreef John Wang:
> Hi Paul:
> Regarding to your comment on adding required/prohibited to
> BooleanQuery:
>
> Based on the new api on DocIdSet and DocIdSetIterator
> abstractions, we also developed decorators such as
> AndDocIdSet,OrDocIdSet and NotDocIdS