Hi, docids are 'ephemeral', but i'd still like to build a search cache with them (they allow for the fastest joins).
i'm seeing docids keep changing with updates (especially, in the last index segment) - as per https://issues.apache.org/jira/browse/LUCENE-2897 That would be fine, because i could build the cache from diff (of index state) + reading the latest index segment in its entirety. But can I assume that docids in other segments (other than the last one) will be relatively stable? (ie. when an old doc is deleted, the docid is marked as removed; update doc = delete old & create a new docid)? thanks roman