Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addFeature(String, String) - Method in class com.yahoo.search.predicate.PredicateQuery
-
Adds a feature to the query
- addFeature(String, String, long) - Method in class com.yahoo.search.predicate.PredicateQuery
-
Adds a feature to the query, e.g.
- addRangeFeature(String, long) - Method in class com.yahoo.search.predicate.PredicateQuery
- addRangeFeature(String, long, long) - Method in class com.yahoo.search.predicate.PredicateQuery
-
Adds a range feature to the query, e.g.
- algorithm - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- algorithm - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- analyzePredicateTree(Predicate) - Static method in class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzer
- arity - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- arity - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- arity - Variable in class com.yahoo.search.predicate.Config
B
- BenchmarkArguments() - Constructor for class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- BenchmarkArguments() - Constructor for class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- BINARY_SEARCH_THRESHOLD - Static variable in class com.yahoo.search.predicate.utils.PostingListSearch
- boundsMap - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- BoundsPostingList - Class in com.yahoo.search.predicate.index
-
Wraps a posting stream of IntervalWithBounds objects (for collapsed fixed tree leaf nodes) into a PostingList.
- BoundsPostingList(PredicateIntervalStore, int[], int[], long, int) - Constructor for class com.yahoo.search.predicate.index.BoundsPostingList
- build() - Method in class com.yahoo.search.predicate.Config.Builder
- build() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- build() - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- build() - Method in class com.yahoo.search.predicate.index.SimpleIndex.Builder
- build() - Method in class com.yahoo.search.predicate.PredicateIndexBuilder
- Builder() - Constructor for class com.yahoo.search.predicate.Config.Builder
- Builder() - Constructor for class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- Builder() - Constructor for class com.yahoo.search.predicate.index.SimpleIndex.Builder
C
- CachedPostingListCounter - Class in com.yahoo.search.predicate.index
-
Counts the number of posting lists per document id.
- CachedPostingListCounter(int) - Constructor for class com.yahoo.search.predicate.index.CachedPostingListCounter
- calculateFeatureCount() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- close() - Method in class com.yahoo.search.predicate.utils.VespaFeedWriter
- com.yahoo.search.predicate - package com.yahoo.search.predicate
- com.yahoo.search.predicate.annotator - package com.yahoo.search.predicate.annotator
- com.yahoo.search.predicate.benchmarks - package com.yahoo.search.predicate.benchmarks
- com.yahoo.search.predicate.index - package com.yahoo.search.predicate.index
- com.yahoo.search.predicate.index.conjunction - package com.yahoo.search.predicate.index.conjunction
- com.yahoo.search.predicate.optimization - package com.yahoo.search.predicate.optimization
- com.yahoo.search.predicate.serialization - package com.yahoo.search.predicate.serialization
- com.yahoo.search.predicate.utils - package com.yahoo.search.predicate.utils
- combine(ResultMetrics) - Method in class com.yahoo.search.predicate.benchmarks.ResultMetrics
- combineZStarIntervals(int, int) - Static method in class com.yahoo.search.predicate.index.Interval
- compare(int, int) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionId
- compare(short, short) - Method in interface com.yahoo.search.predicate.utils.PrimitiveArraySorter.ShortComparator
- compareTo(Hit) - Method in class com.yahoo.search.predicate.Hit
- compareTo(ConjunctionHit) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- compareTo(Posting) - Method in class com.yahoo.search.predicate.index.Posting
- Config - Class in com.yahoo.search.predicate
-
Configuration for a
PredicateIndexBuilder
/PredicateIndex
instance. - Config.Builder - Class in com.yahoo.search.predicate
- CONJUNCTION - Enum constant in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Algorithm
- CONJUNCTION - Enum constant in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Algorithm
- ConjunctionHit - Class in com.yahoo.search.predicate.index.conjunction
-
Represents a conjunction hit.
- ConjunctionHit(long, long) - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- conjunctionId - Variable in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- ConjunctionId - Class in com.yahoo.search.predicate.index.conjunction
-
Conjunction id format: bit 31-1: id/hash bit 0: 0: negated, 1: not negated
- ConjunctionId() - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionId
- ConjunctionIdIterator - Class in com.yahoo.search.predicate.index.conjunction
-
Conjunction id posting list iterator for a single feature/assignment (e.g.
- ConjunctionIdIterator(long, int[]) - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionIdIterator
- ConjunctionIndex - Class in com.yahoo.search.predicate.index.conjunction
-
A searchable index of conjunctions (see
FeatureConjunction
/IndexableFeatureConjunction
). - ConjunctionIndex(IntObjectMap<ConjunctionIndex.FeatureIndex>, int[], long[]) - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex
- ConjunctionIndex.FeatureIndex - Class in com.yahoo.search.predicate.index.conjunction
- ConjunctionIndex.Searcher - Class in com.yahoo.search.predicate.index.conjunction
- ConjunctionIndexBuilder - Class in com.yahoo.search.predicate.index.conjunction
-
A builder for
ConjunctionIndex
. - ConjunctionIndexBuilder() - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- contains(int) - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
-
Checks if a value is contained within the specified bounds.
- countPostingListsPerDocument(List<PostingList>, byte[]) - Method in class com.yahoo.search.predicate.index.CachedPostingListCounter
- createHash(String, String) - Static method in class com.yahoo.search.predicate.index.Feature
- createPredicateTreeAnnotations(Predicate) - Static method in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotator
-
Labels the predicate tree by constructing an interval mapping for each predicate node in the tree.
D
- dataRefs - Variable in class com.yahoo.search.predicate.index.SimpleIndex.Entry
- docIds - Variable in class com.yahoo.search.predicate.index.SimpleIndex.Entry
E
- equals(int, int) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionId
- equals(Object) - Method in class com.yahoo.search.predicate.Hit
- equals(Object) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- equals(Object) - Method in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
- equals(Object) - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- equals(Object) - Method in class com.yahoo.search.predicate.index.Posting
- expand(String, long, PredicateRangeTermExpander.RangeHandler, PredicateRangeTermExpander.EdgeHandler) - Method in class com.yahoo.search.predicate.index.PredicateRangeTermExpander
-
Expands a range term to a set of features (ranges and edges) to be used in a query.
F
- Feature - Class in com.yahoo.search.predicate.index
-
Utility class for feature related constants and methods.
- Feature(String, String, long) - Constructor for class com.yahoo.search.predicate.PredicateQuery.Feature
- featureConjunctions - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- FeatureConjunctionTransformer - Class in com.yahoo.search.predicate.optimization
-
Transforms Conjunctions with only (negated)
FeatureSet
instances toFeatureConjunction
. - FeatureConjunctionTransformer(boolean) - Constructor for class com.yahoo.search.predicate.optimization.FeatureConjunctionTransformer
- featureHash - Variable in class com.yahoo.search.predicate.PredicateQuery.Feature
- FeatureIndex(LongObjectMap<int[]>) - Constructor for class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.FeatureIndex
- features - Variable in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
- feedFile - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- feedFile - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- format - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- format - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- fromBoundaries(int, int) - Static method in class com.yahoo.search.predicate.index.Interval
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.Config
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.FeatureIndex
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.index.PredicateIntervalStore
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.index.SimpleIndex
- fromInputStream(DataInputStream) - Static method in class com.yahoo.search.predicate.PredicateIndex
- fromJSON(String) - Method in class com.yahoo.search.predicate.serialization.PredicateQuerySerializer
- fromZStar1Boundaries(int, int) - Static method in class com.yahoo.search.predicate.index.Interval
- fromZStar2Boundaries(int) - Static method in class com.yahoo.search.predicate.index.Interval
G
- get(int) - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore
- getBegin(int) - Static method in class com.yahoo.search.predicate.index.Interval
- getBounds() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- getCacheHits() - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- getConjunctionId() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIdIterator
- getConjunctionIds() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIdIterator
- getConjunctionIdsForFeature(long) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.FeatureIndex
- getConjunctionsSeen() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- getDataRef() - Method in class com.yahoo.search.predicate.index.Posting
- getDocId() - Method in class com.yahoo.search.predicate.Hit
- getDocId() - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- getDocId() - Method in interface com.yahoo.search.predicate.index.PostingList
- getDocId() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- getDocIds() - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- getDocIds() - Method in interface com.yahoo.search.predicate.index.PostingList
- getDocIds() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- getEnd(int) - Static method in class com.yahoo.search.predicate.index.Interval
- getEntriesForSize() - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- getEntryCount() - Method in class com.yahoo.search.predicate.index.SimpleIndex.Builder
- getFeatures() - Method in class com.yahoo.search.predicate.PredicateQuery
-
Returns a list of features
- getId() - Method in class com.yahoo.search.predicate.index.Posting
- getInterval() - Method in class com.yahoo.search.predicate.index.BoundsPostingList
- getInterval() - Method in class com.yahoo.search.predicate.index.IntervalPostingList
- getInterval() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
-
16 MSB represents interval begin, 16 LSB represents interval end.
- getInterval() - Method in interface com.yahoo.search.predicate.index.PostingList
- getInterval() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- getInterval() - Method in class com.yahoo.search.predicate.index.ZstarCompressedPostingList
- getKeyCount() - Method in class com.yahoo.search.predicate.index.SimpleIndex.Builder
- getNumberOfIntervals() - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- getPostingList(long) - Method in class com.yahoo.search.predicate.index.SimpleIndex
-
Retrieves a posting list for a given key
- getRangeFeatures() - Method in class com.yahoo.search.predicate.PredicateQuery
-
Returns a list of range features
- getStats() - Method in class com.yahoo.search.predicate.PredicateIndexBuilder
-
Retrieves metrics about the current index.
- getSubquery() - Method in class com.yahoo.search.predicate.Hit
- getSubquery() - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- getSubquery() - Method in interface com.yahoo.search.predicate.index.PostingList
- getSubquery() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- getSubqueryBitmap() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIdIterator
- getTotalInserts() - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- getUniqueConjunctionCount() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- getZeroConstraintDocCount() - Method in class com.yahoo.search.predicate.PredicateIndexBuilder
- getZListSize() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- getZStar1Begin(int) - Static method in class com.yahoo.search.predicate.index.Interval
- getZStar1End(int) - Static method in class com.yahoo.search.predicate.index.Interval
- getZStar2End(int) - Static method in class com.yahoo.search.predicate.index.Interval
H
- handleEdge(long, int) - Method in interface com.yahoo.search.predicate.index.PredicateRangeTermExpander.EdgeHandler
- handleRange(long) - Method in interface com.yahoo.search.predicate.index.PredicateRangeTermExpander.RangeHandler
- hashCode() - Method in class com.yahoo.search.predicate.Hit
- hashCode() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- hashCode() - Method in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
- hashCode() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- hashCode() - Method in class com.yahoo.search.predicate.index.Posting
- hasValue() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- helpOption - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- helpOption - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- Hit - Class in com.yahoo.search.predicate
-
Represents a hit from the predicate search algorithm.
- Hit(int) - Constructor for class com.yahoo.search.predicate.Hit
- Hit(int, long) - Constructor for class com.yahoo.search.predicate.Hit
- HitsVerificationBenchmark - Class in com.yahoo.search.predicate.benchmarks
-
A test that runs outputs the hits for each query into result file.
- HitsVerificationBenchmark() - Constructor for class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark
- HitsVerificationBenchmark.BenchmarkArguments - Class in com.yahoo.search.predicate.benchmarks
- HitsVerificationBenchmark.BenchmarkArguments.Algorithm - Enum Class in com.yahoo.search.predicate.benchmarks
- HitsVerificationBenchmark.BenchmarkArguments.Format - Enum Class in com.yahoo.search.predicate.benchmarks
I
- id - Variable in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
-
Conjunction id
- IndexableFeatureConjunction - Class in com.yahoo.search.predicate.index.conjunction
-
IndexableFeatureConjunction is a post-processed
FeatureConjunction
which can be indexed byConjunctionIndex
. - IndexableFeatureConjunction(FeatureConjunction) - Constructor for class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
- indexConjunction(IndexableFeatureConjunction) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndexBuilder
- indexDocument(int, Predicate) - Method in class com.yahoo.search.predicate.PredicateIndexBuilder
-
Indexes a predicate with the given id.
- indexFile - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- indexFile - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- indexOutputFile - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- insert(long, Posting) - Method in class com.yahoo.search.predicate.index.SimpleIndex.Builder
-
Inserts an object with an id for a key.
- insert(List<Integer>) - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore.Builder
- interpolationSearch(int[], int, int, int) - Static method in class com.yahoo.search.predicate.utils.PostingListSearch
- Interval - Class in com.yahoo.search.predicate.index
-
Utility class for interval related constants and methods.
- INTERVAL_BEGIN - Static variable in class com.yahoo.search.predicate.index.Interval
- intervalEnd - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- intervalMap - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- INTERVALONLY - Enum constant in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Algorithm
- INTERVALONLY - Enum constant in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Algorithm
- IntervalPostingList - Class in com.yahoo.search.predicate.index
-
Implementation of PostingList for regular features that store their intervals and nothing else.
- IntervalPostingList(PredicateIntervalStore, int[], int[], long) - Constructor for class com.yahoo.search.predicate.index.IntervalPostingList
- IntervalWithBounds - Class in com.yahoo.search.predicate.index
-
Represents a collapsed leaf node in the fixed tree range representation.
- IntervalWithBounds() - Constructor for class com.yahoo.search.predicate.index.IntervalWithBounds
- IntervalWithBounds(int, int) - Constructor for class com.yahoo.search.predicate.index.IntervalWithBounds
- isPositive(int) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionId
- isZStar1Interval(int) - Static method in class com.yahoo.search.predicate.index.Interval
- isZStar2Interval(int) - Static method in class com.yahoo.search.predicate.index.Interval
J
- JSON - Enum constant in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Format
- JSON - Enum constant in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Format
K
- k - Variable in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
-
K value - number of non-negated operands
- key - Variable in class com.yahoo.search.predicate.PredicateQuery.Feature
- key - Variable in class com.yahoo.search.predicate.PredicateQuery.RangeFeature
L
- LINEAR_SEARCH_THRESHOLD - Static variable in class com.yahoo.search.predicate.utils.PostingListSearch
- LINEAR_SEARCH_THRESHOLD_2 - Static variable in class com.yahoo.search.predicate.utils.PostingListSearch
- lowerBound - Variable in class com.yahoo.search.predicate.Config
M
- main(String[]) - Static method in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark
- main(String[]) - Static method in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark
- main(String[]) - Static method in class com.yahoo.search.predicate.utils.TargetingQueryFileConverter
- MAX_INTERVAL_END - Static variable in class com.yahoo.search.predicate.index.Interval
- maxDocuments - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- maxQueries - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- merge(short[], short[], int, int, PrimitiveArraySorter.ShortComparator) - Static method in class com.yahoo.search.predicate.utils.PrimitiveArraySorter
- merge(short[], short[], int, PrimitiveArraySorter.ShortComparator) - Static method in class com.yahoo.search.predicate.utils.PrimitiveArraySorter
- minFeature - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzerResult
- minFeature - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- MultiIntervalPostingList - Class in com.yahoo.search.predicate.index
-
Shared implementation for posting lists that may have multiple intervals.
- MultiIntervalPostingList(int[], int[], long) - Constructor for class com.yahoo.search.predicate.index.MultiIntervalPostingList
N
- negatedFeatures - Variable in class com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction
- next(int) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIdIterator
- nextDocument(int) - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- nextDocument(int) - Method in interface com.yahoo.search.predicate.index.PostingList
-
Moves the posting list past the supplied document id.
- nextDocument(int) - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- nextId(int) - Static method in class com.yahoo.search.predicate.index.conjunction.ConjunctionId
- nextInterval() - Method in class com.yahoo.search.predicate.index.BoundsPostingList
- nextInterval() - Method in class com.yahoo.search.predicate.index.IntervalPostingList
- nextInterval() - Method in interface com.yahoo.search.predicate.index.PostingList
-
Fetches the next interval for the current document.
- nextInterval() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- nextInterval() - Method in class com.yahoo.search.predicate.index.ZstarCompressedPostingList
- nextValue() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- nThreads - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
O
- optimizePredicate(Predicate) - Method in class com.yahoo.search.predicate.index.PredicateOptimizer
- outputFile - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
P
- parseDocuments(String, int, Consumer<Predicate>) - Static method in class com.yahoo.search.predicate.utils.VespaFeedParser
- parseQueries(String, int) - Static method in class com.yahoo.search.predicate.utils.VespaQueryParser
-
Parses a query formatted using the deprecated boolean query format (query properties).
- parseQueriesFromFile(String, int) - Static method in class com.yahoo.search.predicate.serialization.PredicateQuerySerializer
- parseQueryFromQueryProperties(String) - Static method in class com.yahoo.search.predicate.utils.VespaQueryParser
- Posting - Class in com.yahoo.search.predicate.index
-
Represents an entry in a posting list, containing an integer id and integer data reference.
- Posting(int, int) - Constructor for class com.yahoo.search.predicate.index.Posting
- PostingList - Interface in com.yahoo.search.predicate.index
-
Interface for posting lists to be used by the algorithm implemented in PredicateSearch.
- PostingListSearch - Class in com.yahoo.search.predicate.utils
-
Algorithms for searching in the docId arrays in posting lists.
- PostingListSearch() - Constructor for class com.yahoo.search.predicate.utils.PostingListSearch
- PredicateIndex - Class in com.yahoo.search.predicate
-
An index of
Predicate
objects. - PredicateIndex.Searcher - Class in com.yahoo.search.predicate
- PredicateIndexBenchmark - Class in com.yahoo.search.predicate.benchmarks
-
A benchmark that tests the indexing and search performance.
- PredicateIndexBenchmark() - Constructor for class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark
- PredicateIndexBenchmark.BenchmarkArguments - Class in com.yahoo.search.predicate.benchmarks
- PredicateIndexBenchmark.BenchmarkArguments.Algorithm - Enum Class in com.yahoo.search.predicate.benchmarks
- PredicateIndexBenchmark.BenchmarkArguments.Format - Enum Class in com.yahoo.search.predicate.benchmarks
- PredicateIndexBuilder - Class in com.yahoo.search.predicate
-
A builder for
PredicateIndex
. - PredicateIndexBuilder(int) - Constructor for class com.yahoo.search.predicate.PredicateIndexBuilder
-
Creates a PredicateIndexBuilder with default upper and lower bounds.
- PredicateIndexBuilder(int, long, long) - Constructor for class com.yahoo.search.predicate.PredicateIndexBuilder
-
Creates a PredicateIndexBuilder.
- PredicateIndexBuilder(Config) - Constructor for class com.yahoo.search.predicate.PredicateIndexBuilder
-
Creates a PredicateIndexBuilder based on a Config object.
- PredicateIndexBuilder.PredicateIndexStats - Class in com.yahoo.search.predicate
-
A collection of metrics about the currently built
PredicateIndex
. - PredicateIndexStats(List<Integer>, SimpleIndex.Builder, SimpleIndex.Builder, PredicateIntervalStore.Builder, ConjunctionIndexBuilder, int, int) - Constructor for class com.yahoo.search.predicate.PredicateIndexBuilder.PredicateIndexStats
- PredicateIntervalStore - Class in com.yahoo.search.predicate.index
- PredicateIntervalStore(int[][]) - Constructor for class com.yahoo.search.predicate.index.PredicateIntervalStore
- PredicateIntervalStore.Builder - Class in com.yahoo.search.predicate.index
- PredicateOptimizer - Class in com.yahoo.search.predicate.index
-
Prepares the predicate for indexing.
- PredicateOptimizer(Config) - Constructor for class com.yahoo.search.predicate.index.PredicateOptimizer
- PredicateQuery - Class in com.yahoo.search.predicate
-
Represents a query in the form of a set of boolean variables that are considered true.
- PredicateQuery() - Constructor for class com.yahoo.search.predicate.PredicateQuery
- PredicateQuery.Feature - Class in com.yahoo.search.predicate
- PredicateQuery.RangeFeature - Class in com.yahoo.search.predicate
- PredicateQuerySerializer - Class in com.yahoo.search.predicate.serialization
-
Converts
PredicateQuery
to and from JSON Example: { features: [ {"k": "key-name", "v":"value", "s":"0xDEADBEEFDEADBEEF"} ], rangeFeatures: [ {"k": "key-name", "v":42, "s":"0xDEADBEEFDEADBEEF"} ] } - PredicateQuerySerializer() - Constructor for class com.yahoo.search.predicate.serialization.PredicateQuerySerializer
- PredicateRangeTermExpander - Class in com.yahoo.search.predicate.index
-
Expands range terms from a query to find the set of features they translate to.
- PredicateRangeTermExpander(int) - Constructor for class com.yahoo.search.predicate.index.PredicateRangeTermExpander
-
Creates a PredicateRangeTermExpander with default value range.
- PredicateRangeTermExpander(int, long, long) - Constructor for class com.yahoo.search.predicate.index.PredicateRangeTermExpander
- PredicateRangeTermExpander.EdgeHandler - Interface in com.yahoo.search.predicate.index
-
Callback for edges generated by the expansion.
- PredicateRangeTermExpander.RangeHandler - Interface in com.yahoo.search.predicate.index
-
Callback for ranges generated by the expansion.
- PredicateSearch - Class in com.yahoo.search.predicate.index
-
Implementation of the "Interval" predicate search algorithm.
- PredicateSearch(List<PostingList>, byte[], byte[], short[], int) - Constructor for class com.yahoo.search.predicate.index.PredicateSearch
-
Creates a search for a set of posting lists.
- PredicateTreeAnalyzer - Class in com.yahoo.search.predicate.annotator
-
This class analyzes a predicate tree to determine two characteristics: 1) The sub-tree size for each conjunction/disjunction node.
- PredicateTreeAnalyzer() - Constructor for class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzer
- PredicateTreeAnalyzerResult - Class in com.yahoo.search.predicate.annotator
-
Holds the results from
PredicateTreeAnalyzer.analyzePredicateTree(com.yahoo.document.predicate.Predicate)
. - PredicateTreeAnalyzerResult(int, int, Map<Predicate, Integer>) - Constructor for class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzerResult
- PredicateTreeAnnotations - Class in com.yahoo.search.predicate.annotator
-
Holds annotations for all the features of a predicate.
- PredicateTreeAnnotations(int, int, Map<Long, List<Integer>>, Map<Long, List<IntervalWithBounds>>, Map<IndexableFeatureConjunction, List<Integer>>) - Constructor for class com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
- PredicateTreeAnnotator - Class in com.yahoo.search.predicate.annotator
-
Performs the labelling of the predicate tree.
- prepareIntervals() - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- prepareIntervals() - Method in interface com.yahoo.search.predicate.index.PostingList
-
Prepare iterator for interval iteration.
- prepareIntervals() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- prepareIntervals(int) - Method in class com.yahoo.search.predicate.index.BoundsPostingList
- prepareIntervals(int) - Method in class com.yahoo.search.predicate.index.IntervalPostingList
- prepareIntervals(int) - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- prepareIntervals(int) - Method in class com.yahoo.search.predicate.index.ZstarCompressedPostingList
- PrimitiveArraySorter - Class in com.yahoo.search.predicate.utils
-
This class enables sorting of an array of primitive short values using a supplied comparator for custom ordering.
- PrimitiveArraySorter.ShortComparator - Interface in com.yahoo.search.predicate.utils
- process(Predicate, PredicateOptions) - Method in class com.yahoo.search.predicate.optimization.FeatureConjunctionTransformer
- putValues(Map<String, Object>) - Method in class com.yahoo.search.predicate.PredicateIndexBuilder.PredicateIndexStats
Q
- queryFile - Variable in class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments
- queryFile - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
R
- RangeFeature(String, long, long) - Constructor for class com.yahoo.search.predicate.PredicateQuery.RangeFeature
- readByteArray(DataInputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- readIntArray(DataInputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- readLongArray(DataInputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- readShortArray(DataInputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- rebuildCache() - Method in class com.yahoo.search.predicate.index.CachedPostingListCounter
- rebuildPostingListCache() - Method in class com.yahoo.search.predicate.PredicateIndex
- registerResult(long, double) - Method in class com.yahoo.search.predicate.benchmarks.ResultMetrics
- registerUsage(List<PostingList>) - Method in class com.yahoo.search.predicate.index.CachedPostingListCounter
- ResultMetrics - Class in com.yahoo.search.predicate.benchmarks
-
Various metrics stored during query execution
- ResultMetrics() - Constructor for class com.yahoo.search.predicate.benchmarks.ResultMetrics
- runtime - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
S
- search(PredicateQuery) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.Searcher
-
Retrieves a list of hits for the given query.
- search(PredicateQuery) - Method in class com.yahoo.search.predicate.PredicateIndex.Searcher
-
Retrieves a stream of hits for the given query.
- searcher() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex
- searcher() - Method in class com.yahoo.search.predicate.PredicateIndex
-
Create a new searcher.
- SerializationHelper - Class in com.yahoo.search.predicate.serialization
-
Misc utility functions to help serialization of
PredicateIndex
. - SerializationHelper() - Constructor for class com.yahoo.search.predicate.serialization.SerializationHelper
- setArity(int) - Method in class com.yahoo.search.predicate.Config.Builder
- setIntervalArray(int[], int) - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- setLowerBound(long) - Method in class com.yahoo.search.predicate.Config.Builder
- setUpperBound(long) - Method in class com.yahoo.search.predicate.Config.Builder
- setUseConjunctionAlgorithm(boolean) - Method in class com.yahoo.search.predicate.Config.Builder
- SimpleIndex - Class in com.yahoo.search.predicate.index
-
An index mapping keys of type Long to lists of postings of generic data.
- SimpleIndex(LongObjectMap<SimpleIndex.Entry>) - Constructor for class com.yahoo.search.predicate.index.SimpleIndex
- SimpleIndex.Builder - Class in com.yahoo.search.predicate.index
- SimpleIndex.Entry - Class in com.yahoo.search.predicate.index
- size() - Method in class com.yahoo.search.predicate.index.MultiIntervalPostingList
- size() - Method in interface com.yahoo.search.predicate.index.PostingList
- size() - Method in class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- sizeMap - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzerResult
- sort(short[], int, int, PrimitiveArraySorter.ShortComparator) - Static method in class com.yahoo.search.predicate.utils.PrimitiveArraySorter
- sort(short[], PrimitiveArraySorter.ShortComparator) - Static method in class com.yahoo.search.predicate.utils.PrimitiveArraySorter
- sortAndMerge(short[], short[], int, int, PrimitiveArraySorter.ShortComparator) - Static method in class com.yahoo.search.predicate.utils.PrimitiveArraySorter
- stream() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- stream() - Method in class com.yahoo.search.predicate.index.PredicateSearch
- subqueryBitmap - Variable in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- subqueryBitmap - Variable in class com.yahoo.search.predicate.PredicateQuery.Feature
- subqueryBitmap - Variable in class com.yahoo.search.predicate.PredicateQuery.RangeFeature
T
- TargetingQueryFileConverter - Class in com.yahoo.search.predicate.utils
-
Converts a targeting query (the format provided by targeting team) into a file of Vespa queries formatted as URLs.
- toJSON(PredicateQuery) - Method in class com.yahoo.search.predicate.serialization.PredicateQuerySerializer
- toJSON(PredicateQuery, Writer) - Method in class com.yahoo.search.predicate.serialization.PredicateQuerySerializer
- toString() - Method in class com.yahoo.search.predicate.Hit
- toString() - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionHit
- toString() - Method in class com.yahoo.search.predicate.index.IntervalWithBounds
- toString() - Method in class com.yahoo.search.predicate.PredicateIndexBuilder.PredicateIndexStats
- treeSize - Variable in class com.yahoo.search.predicate.annotator.PredicateTreeAnalyzerResult
U
- upperBound - Variable in class com.yahoo.search.predicate.Config
- useConjunctionAlgorithm - Variable in class com.yahoo.search.predicate.Config
V
- value - Variable in class com.yahoo.search.predicate.PredicateQuery.Feature
- value - Variable in class com.yahoo.search.predicate.PredicateQuery.RangeFeature
- valueOf(String) - Static method in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Algorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Algorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Format
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Algorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Algorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VESPA - Enum constant in enum class com.yahoo.search.predicate.benchmarks.HitsVerificationBenchmark.BenchmarkArguments.Format
- VESPA - Enum constant in enum class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments.Format
- VespaFeedParser - Class in com.yahoo.search.predicate.utils
-
Parses a feed file containing documents in XML format.
- VespaFeedParser() - Constructor for class com.yahoo.search.predicate.utils.VespaFeedParser
- VespaFeedWriter - Class in com.yahoo.search.predicate.utils
- VespaQueryParser - Class in com.yahoo.search.predicate.utils
-
Parses query file containing Vespa queries using the deprecated predicate format (query properties - not YQL).
- VespaQueryParser() - Constructor for class com.yahoo.search.predicate.utils.VespaQueryParser
W
- warmup - Variable in class com.yahoo.search.predicate.benchmarks.PredicateIndexBenchmark.BenchmarkArguments
- writeByteArray(byte[], DataOutputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- writeIntArray(int[], DataOutputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- writeLongArray(long[], DataOutputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- writeMetrics(Map<String, Object>, long) - Method in class com.yahoo.search.predicate.benchmarks.ResultMetrics
- writePredicateDocument(int, String, Predicate) - Method in class com.yahoo.search.predicate.utils.VespaFeedWriter
- writeShortArray(short[], DataOutputStream) - Static method in class com.yahoo.search.predicate.serialization.SerializationHelper
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.Config
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex.FeatureIndex
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.index.conjunction.ConjunctionIndex
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.index.PredicateIntervalStore
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.index.SimpleIndex
- writeToOutputStream(DataOutputStream) - Method in class com.yahoo.search.predicate.PredicateIndex
Z
- Z_STAR_COMPRESSED_ATTRIBUTE_HASH - Static variable in class com.yahoo.search.predicate.index.Feature
- Z_STAR_COMPRESSED_ATTRIBUTE_NAME - Static variable in class com.yahoo.search.predicate.index.Feature
- ZERO_CONSTRAINT_RANGE - Static variable in class com.yahoo.search.predicate.index.Interval
- ZeroConstraintPostingList - Class in com.yahoo.search.predicate.index
-
Wraps an int stream of document ids into a PostingList.
- ZeroConstraintPostingList(int[]) - Constructor for class com.yahoo.search.predicate.index.ZeroConstraintPostingList
- ZstarCompressedPostingList - Class in com.yahoo.search.predicate.index
-
Wraps a posting list of compressed NOT-features.
- ZstarCompressedPostingList(PredicateIntervalStore, int[], int[]) - Constructor for class com.yahoo.search.predicate.index.ZstarCompressedPostingList
All Classes and Interfaces|All Packages|Constant Field Values