Re: Statically store sub-collections for search (faceted search?)

2013-04-13 Thread Shai Erera
Hi Carsten, You're right that Lucene document numbers are ephemeral, but they are consistent for a certain IndexReader instance. So perhaps you can use SearcherLifetimeManager to obtain a 'version' of the reader that returned the original results and store a bitset together with that version. Then

Re: DiskDocValuesFormat

2013-04-13 Thread Wei Wang
Hi Adrien, Thanks for your example. Really helpful! Wei On Sat, Apr 13, 2013 at 4:25 AM, Adrien Grand wrote: > Hi Wei, > > On Sat, Apr 13, 2013 at 7:44 AM, Wei Wang wrote: > > I am trying to use DiskDocValuesFormat for a particular > > BinaryDocValuesField. It seems there is no good examples

Re: DiskDocValuesFormat

2013-04-13 Thread Adrien Grand
Hi Wei, On Sat, Apr 13, 2013 at 7:44 AM, Wei Wang wrote: > I am trying to use DiskDocValuesFormat for a particular > BinaryDocValuesField. It seems there is no good examples showing how to do > this. The only hint I got from various docs and forums is set some codec in > IndexWriter. Could someon