Package com.yahoo.search.predicate.index
Class PredicateSearch
- java.lang.Object
-
- com.yahoo.search.predicate.index.PredicateSearch
-
public class PredicateSearch extends Object
Implementation of the "Interval" predicate search algorithm.- Author:
- Magnar Nedland, bjorncs
-
-
Constructor Summary
Constructors Constructor Description PredicateSearch(List<PostingList> postingLists, byte[] nPostingListsForDocument, byte[] minFeatureIndex, short[] intervalEnds, int highestIntervalEnd)
Creates a search for a set of posting lists.
-
-
-
Constructor Detail
-
PredicateSearch
public PredicateSearch(List<PostingList> postingLists, byte[] nPostingListsForDocument, byte[] minFeatureIndex, short[] intervalEnds, int highestIntervalEnd)
Creates a search for a set of posting lists.- Parameters:
postingLists
- Posting lists for the boolean variables that evaluate to truenPostingListsForDocument
- The number of posting list for each docIdminFeatureIndex
- Index from docId to min-feature value.intervalEnds
- The interval end for each document.highestIntervalEnd
- The highest end value.
-
-