dweiss commented on issue #1048: URL: https://github.com/apache/lucene/issues/1048#issuecomment-1195234738
If you need constant IDs, use a stored document field. IDs are internal because they are used for per-segment document ordering and once segments are merged, any previous document IDs (they're actually an ordinal sequence) are discarded. The naming "ID" may be confusing - it's not a "global" identifier, it is only unique within a segment. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org