lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Query in IndexWriter.deleteDocuments(Term term)
Date Sat, 26 Jul 2008 17:07:25 GMT

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message