Hi,
  I saw the RAMDirectory examples, but they didn't quite do what I need.
The examples I saw showed how to create an in-memory index, write docs
to it, then search it. What I need is to read a disk-based index into
memory, then search it (entirely in memory, not cached). I will hop over
to the Lucene folks. Just wasn't sure if PyLucene supported that
specific behavior or not.

Thanks!

On Fri, 2008-06-27 at 12:43 -0400, Pete wrote:
> On Jun 27, 2008, at 12:08 PM, Andi Vajda wrote:
> > On Fri, 27 Jun 2008, Darren Govoni wrote:
> >
> >> Hi,
> >> Is there a way to make pylucene read an on-disk index into memory and
> >> then do all the search operations on it there?
> >
> > Yes, the same way you'd do with Java Lucene, using a RAMDirectory.
> 
> Given sufficient RAM, your OS will end up caching the whole thing in  
> memory anyway.  Lucene itself does quite a lot of caching too.
> 
> But yeah, ask the Lucene folks. ;-)
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev@osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to