Re: Lockless read-only deletions in IndexReader?

2007-09-04 Thread Michael McCandless
Excellent, a much simpler approach! I think it should work? Maybe override numDocs() as well? Mike "Karl Wettin" <[EMAIL PROTECTED]> wrote: > > 20 aug 2007 kl. 14.33 skrev Michael McCandless: > > > "karl wettin" <[EMAIL PROTECTED]> wrote: > > > >> I want to set documents in my IndexReader as

Re: Lockless read-only deletions in IndexReader?

2007-08-30 Thread Karl Wettin
20 aug 2007 kl. 14.33 skrev Michael McCandless: "karl wettin" <[EMAIL PROTECTED]> wrote: I want to set documents in my IndexReader as deleted, but I will never commit these deletions. Sort of a filter on a reader rather than on a searcher, and no write-locks. I could go hacking in IndexR

Re: Lockless read-only deletions in IndexReader?

2007-08-22 Thread Karl Wettin
Thanks Mike, I'll dig around a bit and report back what I did. 20 aug 2007 kl. 14.33 skrev Michael McCandless: "karl wettin" <[EMAIL PROTECTED]> wrote: I want to set documents in my IndexReader as deleted, but I will never commit these deletions. Sort of a filter on a reader rather than on

Re: Lockless read-only deletions in IndexReader?

2007-08-20 Thread Michael McCandless
"karl wettin" <[EMAIL PROTECTED]> wrote: > I want to set documents in my IndexReader as deleted, but I will > never commit these deletions. Sort of a filter on a reader rather > than on a searcher, and no write-locks. > Perhaps I can pass down a IndexDeletionPolicy to my IndexWriter that > ignor

Lockless read-only deletions in IndexReader?

2007-08-19 Thread karl wettin
I want to set documents in my IndexReader as deleted, but I will never commit these deletions. Sort of a filter on a reader rather than on a searcher, and no write-locks. Can I do that out of the box? Perhaps I can pass down a IndexDeletionPolicy to my IndexWriter that ignores deletions fr