lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harwood <>
Subject Re: Document links
Date Tue, 09 Nov 2010 23:03:30 GMT
I was using within-segment doc ids stored in link files named after both the source and target
segments (a link after all is 2 endpoints).
For a complete solution you ultimately have to deal with the fact that doc ids could be references
* Stable, committed docs (the easy case)
* Flushed but not yet committed docs
* Buffered but not yet flushed docs
* Flushed/committed but currently merging docs

...all of which are happening in different threads e.g reader has one view of the world, a
background thread is busy merging segments to create a new view of the world even after commits
have completed.

All very messy.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message