I'm looking for a way to quickly flag/unflag documents.

This could be one at a time or by query (even *:*)

I have hacked together something based on ExternalFileField that is
essentially a FST holding all the ids (solr not lucene).  Like the
FieldCache, it holds a WeakHashMap<AtomicReader,OpenBitSet> where the
OpenBitSet is loaded by iterating the FST on the reader (just like
ExternalFileField)

This seems to work OK, but there *must* be something better!

Any ideas on the right approach for something like this?  This feels like
it should be related to DocValues or the FieldCache

Thanks for any pointers!

ryan

Reply via email to