debug filters

2011-12-31 Thread Herb Roitblat
Can someone point me to information on how to debug a filter? How do I access the bit-string? Our problem seems to be that when we set a filter, not all of the appropriate bits are set and when we use the filter to retrieve the documents, not all of the documents that we intended to set are r

How to use RAMDirectory more efficiently

2011-12-31 Thread Cheng
Hi, Suppose that we have a huge amount of indices on hard drives but working in RAMDirectory is a must, how can we decide which part of the indices to be loaded into RAM, how to modify the indices, and when and how to synchronize the indices with those on hard drives? Any thoughts? Thanks!

Re: Spatial Search

2011-12-31 Thread Yonik Seeley
On Sat, Dec 31, 2011 at 11:52 AM, Lance Java wrote: > Hi, I am new to Lucene and I am trying to use spatial search. The old tier-based stuff in Lucene is broken and considered deprecated. For Lucene, this may currently be your best hope: http://code.google.com/p/lucene-spatial-playground/ Solr

How to save in-memory index into disk

2011-12-31 Thread Cheng
Hi, I am creating a RAMDirectory based upon a folder on disk. After doing a lot of adding, deleting, or updating, I want to flush the changes to the disk. However, the flush() function is not available for 3.5. How can I save the changes to disk? Thanks!