lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Lucene's internal doc ID space
Date Sat, 12 May 2012 07:14:40 GMT
On Fri, May 11, 2012 at 9:56 PM, Jong Kim <> wrote:
> 2. If Lucene can recycle old IDs, it would be even better if I could force
> it to re-use a particular doc ID when updating a document by deleting old
> one and creating new one. This scheme will allow me to reference this doc
> ID from another doc in the index as if it was a foreign key value that
> doesn't change upon reindexing. I didn't see anything like this in the API,
> but is it ever possible?

Not answering the question, but this would be really awesome as we
could then actually replace documents instead of deleting an old one
and adding a new one.

(But I figure if it were possible, the replace method would work like that.)


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

View raw message