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 Garg
Michael McCandless-2 wrote:
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 new IndexWriter.
I ask this, because I plan to work within a fortnight, and 2.4 is
still
someway away, and the primary reason I am porting to 2.3.2 (from
2.0.0), is
to have explicit commit() control in our hands.
OK but 2.3.2 doesn't have commit yet.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Query-in-IndexWriter.deleteDocuments%28Term-term%29-tp18662995p18683927.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]