On Jun 7, 2006, at 4:18 PM, Yonik Seeley wrote:
 I do still
need to do these kinds of inverted sets somehow.

One problem is that not() needs to know how large the sets are.  I
could add a DocSet.flip(int maxDoc) or a DocSet.flip(int startIndex,
int endIndex) or something like that... but a user would need to know
what maxDoc is...

DocSet.andNot(DocSet other) would be doable w/o knowledge of maxDoc though.

The code for building these DocSet's would be in the cache warming phase of Solr, right where the IndexReader is readily available. I don't see a problem requiring a size or range parameters from a client code perspective.

        Erik

Reply via email to