On 7/15/06, Erick Erickson <[EMAIL PROTECTED]> wrote:
I'm assuming that you only add to your index,
and don't optimize it after deletions or do anything else that would change
the document IDs

That won't quite work... add() after delete() can change document ids
because it can cause a segment merge which removes deleted docs.

If that's all true, you could just store the first and last Doc ID for each
day

That you could still sort-of do.  Even though docids can change, they
won't be reordered with respect to eachother.  So if you index in date
order, you can do a lookup on each endpoint and know that all the ids
between are in the range.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to