lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Deleting a document found in a search
Date Wed, 09 Oct 2002 16:57:47 GMT wrote:
> My first thought is to
> define a Field.Keyword("composite-key", domain + "\u0000" + id).  This
> would allow me to use the delete(Term) interface to delete the key.

That sounds like a good way to solve this.

You could also use a HitCollector with a Query, but I think the 
composite key is a better approach.


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

View raw message