Module org.elasticsearch.server
Package org.elasticsearch.search.vectors
Class ESAcceptDocs.ESAcceptDocsAll
java.lang.Object
org.apache.lucene.search.AcceptDocs
org.elasticsearch.search.vectors.ESAcceptDocs
org.elasticsearch.search.vectors.ESAcceptDocs.ESAcceptDocsAll
- Enclosing class:
ESAcceptDocs
An AcceptDocs that accepts all documents.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.vectors.ESAcceptDocs
ESAcceptDocs.BitsAcceptDocs, ESAcceptDocs.ESAcceptDocsAll, ESAcceptDocs.ScorerSupplierAcceptDocs -
Field Summary
Fields -
Method Summary
Methods inherited from class org.apache.lucene.search.AcceptDocs
fromIteratorSupplier, fromLiveDocs
-
Field Details
-
INSTANCE
-
-
Method Details
-
approximateCost
Description copied from class:ESAcceptDocsReturns an approximate cost of the accepted documents. This is generally much cheaper thanAcceptDocs.cost(), as implementations may not fully evaluate filters to provide this estimate and may ignore deletions- Specified by:
approximateCostin classESAcceptDocs- Returns:
- the approximate cost
- Throws:
IOException- if an I/O error occurs
-
bits
- Specified by:
bitsin classorg.apache.lucene.search.AcceptDocs- Throws:
IOException
-
iterator
- Specified by:
iteratorin classorg.apache.lucene.search.AcceptDocs- Throws:
IOException
-
cost
- Specified by:
costin classorg.apache.lucene.search.AcceptDocs- Throws:
IOException
-