lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Commit changes
Date Mon, 28 Nov 2005 15:08:24 GMT
reader.delete(....);
reader.close(); // flushes to disk

Otis

--- MALCOLM CLARK <malcyclark@btinternet.com> wrote:

> 
> Hi Oren,
> 
> In the grand scheme of things and in comparison to some of the
> participants knowledge on here I am fairly new and inexperienced to
> Java and Lucene.
> 
> I thought my way may be the most effectual method of implementing the
> commit.I am using many methods of searching/reading the index for a
> variety of reasons.The facility I am trying to implement is the
> ability to delete a document from the index.Do I need to commit or
> just reader.close? I have the LIA book which is superb and have read
> the sections regarding delete.If it mentions commit maybe I missed
> it?
> 
> Thanks,
> 
> Malcolm
> 
> 


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