containsAny method

Set<String> containsAny(
  1. Iterable<String> terms
)

Returns a Set of document id of those documents that contain any of the terms. Used for index-elimination as a fist pass in scoring and ranking of search results.

Implementation

Set<String> containsAny(Iterable<String> terms) => getPostings(terms).docIds;