Thanks Jeff.

So, it looks as if I have a basic misunderstanding then.

Is it that you can only search against a RAMDir if you have just indexed it
into memory?  You can't, for example, load in a previously indexed directory
to RAMDir?

Thanks,
Mike

On 3/6/07, Jeff Smith <[EMAIL PROTECTED]> wrote:

don't pass in the directory name since it's in ram, there is no disk
locaton. it should look like this:

Lucene.Net.Store.RAMDirectory ramDir = new Lucene.Net.Store.RAMDirectory
();

A good example is here:

http://www.onjava.com/pub/a/onjava/2003/03/05/lucene.html?page=2

Jeff

Reply via email to