Ahh gotchya, OK.
Mike
Ajay Garg wrote:
Thanks Mike.
Yes, I know, 2.3.2 doesn't have commit(). That's why, I asked
whether commit
= close + new IndexWriter, because then I can write a commit() method,
encapslating close() + new IndexWriter.
Thanks a ton for the prompt replies..
Ajay Gar
Thanks Mike.
Yes, I know, 2.3.2 doesn't have commit(). That's why, I asked whether commit
= close + new IndexWriter, because then I can write a commit() method,
encapslating close() + new IndexWriter.
Thanks a ton for the prompt replies..
Ajay Garg
Michael McCandless-2 wrote:
>
>
> Ajay Garg
Ajay Garg wrote:
Pardon me. But will commit() be "code-fully" equal to calling close()
followed by reinstantiating IW with create=false ??? If the above is
indeed
true, I can very well begin with my work.
Yes, commit() can be seen as achieving exactly the same as close() and
opening a ne
Yes.
Mike
Ajay Garg wrote:
So commit() will be available from 2.4 onwards??
Michael McCandless-2 wrote:
Ajay Garg wrote:
Thanks Mike. That was quite explanatory. A couple of doubts:
You're welcome!
1. The deletions apply to buffered as well as stored-in-RAM
documents.
Right. So,
Pardon me. But will commit() be "code-fully" equal to calling close()
followed by reinstantiating IW with create=false ??? If the above is indeed
true, I can very well begin with my work.
I ask this, because I plan to work within a fortnight, and 2.4 is still
someway away, and the primary reason
So commit() will be available from 2.4 onwards??
Michael McCandless-2 wrote:
>
>
> Ajay Garg wrote:
>
>> Thanks Mike. That was quite explanatory. A couple of doubts:
>
> You're welcome!
>
>> 1. The deletions apply to buffered as well as stored-in-RAM documents.
>> Right. So, if the index dir
Ajay Garg wrote:
Thanks Mike. That was quite explanatory. A couple of doubts:
You're welcome!
1. The deletions apply to buffered as well as stored-in-RAM documents.
Right. So, if the index directory contains 1 document that matches a
deleteDocument query, and 1 document in RAM that contains
Thanks Mike. That was quite explanatory. A couple of doubts :
1. The deletions apply to buffered as well as stored-in-RAM documents.
Right. So, if the index directory contains 1 document that matches a
deleteDocument query, and 1 document in RAM that contains the same
deleteDocument query, then,
java_is_everything wrote:
Hi all.
This may seem a longish and informal mail, but do correct me if my
assumptions are wrong anywhere, otherwise my actual doubt will make no
sense.
Say I opened an IndexWriter on an initially empty directory, using
autocommit = true. Now, what I do is add and d
Hi all.
This may seem a longish and informal mail, but do correct me if my
assumptions are wrong anywhere, otherwise my actual doubt will make no
sense.
Say I opened an IndexWriter on an initially empty directory, using
autocommit = true. Now, what I do is add and delete documents randomly. I
se
10 matches
Mail list logo