"...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. ----- Original Message ---- > From: Jason Rutherglen (JIRA) <j...@apache.org> > To: java-dev@lucene.apache.org > Sent: Saturday, 31 January, 2009 1:30:59 > Subject: [jira] Created: (LUCENE-1533) Deleted documents as a Filter or top > level Query > > Deleted documents as a Filter or top level Query > ------------------------------------------------ > > Key: LUCENE-1533 > URL: https://issues.apache.org/jira/browse/LUCENE-1533 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 2.4 > Reporter: Jason Rutherglen > Priority: Minor > Fix For: 2.9 > > > In exploring alternative and perhaps faster ways to implement the > deleted documents functionality, the idea of filtering the deleted > documents at a higher level came up. This system would save on > checking the deleted docs BitVector of each doc read from the posting > list by SegmentTermDocs. This is equivalent to an AND NOT deleted > docs query. > > If the patch improves the speed of indexes with delete documents, > many core unit tests will need to change, or alternatively the > functionality provided by this patch can be an IndexReader option. > > I'm thinking the first implementation will be a Filter in > IndexSearcher. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > 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