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
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
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
"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
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