lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: ParallelReader
Date Fri, 15 Oct 2010 00:55:41 GMT
No. And you don't even want to try... Document IDs are NOT invariant.
when you delete a document and optimize an index, all the documents that
after the deleted one get new doc IDs. Trying to keep these two indexes in
will be a nightmare.

Perhaps you could explain what you're trying to accomplish and we could
other approaches. See:

Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue.  Perhaps the best solution doesn't involve "Y" at all?
See Also:


On Thu, Oct 14, 2010 at 11:42 AM, Nilesh Vijaywargiay <> wrote:

> I have two index, A and B. Can two documents doc1[in index A] and doc2[in
> index B] have a common field? doc1 and doc2 have same document Id's.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message