lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <>
Subject Re: Faceted search with OpenBitSet/SortedVIntList
Date Sun, 15 Feb 2009 13:39:26 GMT

Meanwhile the choice between SortedVIntList and OpenBitSet
has been removed from the trunk (development version),
that now uses OpenBitSet only:

In case there is preference to have SortedVIntList used in the
next lucene version (i.e. in cases when it is smaller  than
OpenBitSet), please comment at LUCENE-1296.

Paul Elschot

On Sunday 08 February 2009 09:47:24 Raffaella Ventaglio wrote:
> Hi Paul,
> One way to implement that would be to use one of the boolean combination
> > filters in contrib, BooleanFilter or ChainedFilter,  and simply count the
> > the number of times next() returns true on the result.
> I am sorry, but I cannot understand: how can I create a BooleanFilter or a
> ChainedFilter starting from two SortedVIntList objects?
> I have not found any filter that takes an existing "DocIdSet" in its
> constructor...
> However I have seen that Filter interface is very easy to implement.
> Should I create a custom Filter that wraps my SortedVIntList and than use
> these filters to create a BooleanFilter?
> Thanks,
> Raf

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message