Reports the positions and optionally offsets of all matching terms in a query for a single document To obtain a
MatchesIteratorfor a particular field, call
getMatches(String). Note that you can call
getMatches(String)multiple times to retrieve new iterators, but it is not thread-safe.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
getMatches(String field)Returns a
MatchesIteratorover the matches for a single field, or
nullif there are no matches in that field.