Right, we just filter out the docs when iterating through postings.

So this means, as segments are merged, the stats get corrected, which means document scores will change for a given query.

Mike

Mark Miller wrote:

eks dev wrote:
"...many core unit tests will need to change, or.."

Thinking about it a bit more, what is current contract for deleted documents in respect to terms?

if we delete document from an index, do we update global freqs and eventually delete terms... or we simply say document ID will not be found again? I guess freqs stay unchanged until we merge segments? It is probably somewhere in javadocs or wiki, but I do not remember I have seen it somewhere described. It may be important in some cases.

All the stats stay unchanged. I think we just filter the id. I've def seen that the stats are unchanged and everything is still loaded in FieldCache and what not. Until the deletes are merged out anyway.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to