Base class for all matchers.
Returns a generator of all IDs in the matcher.
What this method returns for a matcher that has already read some postings (whether it only yields the remaining postings or all postings from the beginning) is undefined, so it’s best to only use this method on fresh matchers.
Returns a generator of all (ID, encoded value) pairs in the matcher.
What this method returns for a matcher that has already read some postings (whether it only yields the remaining postings or all postings from the beginning) is undefined, so it’s best to only use this method on fresh matchers.
Returns a generator of all (ID, decoded value) pairs in the matcher.
What this method returns for a matcher that has already read some postings (whether it only yields the remaining postings or all postings from the beginning) is undefined, so it’s best to only use this method on fresh matchers.
Returns to the start of the posting list.
Note that reset() may not do what you expect after you call Matcher.replace(), since this can mean calling reset() not on the original matcher, but on an optimized replacement.
Synthetic matcher backed by a list of IDs.
Parameters: |
|
---|
Serializes the results of a list of sub-matchers.
Parameters: |
|
---|
Filters the postings from the wrapped based on whether the IDs are present in or absent from a set.
Parameters: |
|
---|