lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harwood <markharw...@yahoo.co.uk>
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
to:
* 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message