Module org.apache.lucene.queries
Class SpanPayloadCheckQuery.PayloadChecker
java.lang.Object
org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadChecker
- All Implemented Interfaces:
SpanCollector
- Enclosing class:
SpanPayloadCheckQuery
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectLeaf(PostingsEnum postings, int position, Term term) Collect information from postings(package private) FilterSpans.AcceptStatusmatch()voidreset()Call to indicate that the driving Spans has moved to a new position
-
Field Details
-
upto
private int upto -
matches
private boolean matches -
payloadMatcher
-
-
Constructor Details
-
PayloadChecker
private PayloadChecker()
-
-
Method Details
-
collectLeaf
Description copied from interface:SpanCollectorCollect information from postings- Specified by:
collectLeafin interfaceSpanCollector- Parameters:
postings- aPostingsEnumposition- the position of the PostingsEnumterm- theTermfor this postings list- Throws:
IOException- on error
-
match
FilterSpans.AcceptStatus match() -
reset
public void reset()Description copied from interface:SpanCollectorCall to indicate that the driving Spans has moved to a new position- Specified by:
resetin interfaceSpanCollector
-