mirror of https://github.com/apache/lucene.git
SOLR comments: add node about passing deleted docs to termsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4092c03de7
commit
023746d375
|
@ -572,6 +572,7 @@ public class SimpleFacets {
|
|||
|
||||
// TODO: specialize when base docset is a bitset or hash set (skipDocs)? or does it matter for this?
|
||||
// TODO: do this per-segment for better efficiency (MultiDocsEnum just uses base class impl)
|
||||
// TODO: would passing deleted docs lead to better efficiency over checking the fastForRandomSet?
|
||||
docsEnum = termsEnum.docs(null, docsEnum);
|
||||
|
||||
// this should be the same bulk result object if sharing of the docsEnum succeeded
|
||||
|
|
Loading…
Reference in New Issue