lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Query in IndexWriter.deleteDocuments(Term term)
Date Mon, 28 Jul 2008 09:17:00 GMT

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: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>
>
> -- 
> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message