lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Faceted Browsing questions
Date Wed, 28 Jun 2006 17:29:36 GMT
: > well, the most obvious solution i can think of would be a patch adding an
: > invert() method to DocSet, HashDocSet and BitDocSet.   :)
:
: Yes, we could add a flip(startIndex, endIndex) or flip(maxDoc)

Yeah ... like i suggested before just make maxDoc an intrinsic property
that DocSets know when they are created.

Another issue though is one of performance ... inverting a HashDocSet with
only a few docs should probably produce a BitDocSet -- ideally using the
same configured maxSize and loadFactor information that the
SolrIndexSearcher uses ... perhaps the method for inverting/flipping a
DocSet should live in in SolrIndexSearcher?


-Hoss


Mime
View raw message