Class ConjunctionIndex
- java.lang.Object
-
- com.yahoo.search.predicate.index.conjunction.ConjunctionIndex
-
public class ConjunctionIndex extends java.lang.Object
A searchable index of conjunctions (seeFeatureConjunction
/IndexableFeatureConjunction
). Implements the algorithm described in the paper Indexing Boolean Expressions.- Author:
- Magnar Nedland, bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConjunctionIndex.FeatureIndex
class
ConjunctionIndex.Searcher
-
Constructor Summary
Constructors Constructor Description ConjunctionIndex(org.eclipse.collections.api.map.primitive.IntObjectMap<ConjunctionIndex.FeatureIndex> kIndex, int[] zList, long[] idMapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConjunctionIndex
fromInputStream(java.io.DataInputStream in)
ConjunctionIndex.Searcher
searcher()
void
writeToOutputStream(java.io.DataOutputStream out)
-
-
-
Constructor Detail
-
ConjunctionIndex
public ConjunctionIndex(org.eclipse.collections.api.map.primitive.IntObjectMap<ConjunctionIndex.FeatureIndex> kIndex, int[] zList, long[] idMapping)
-
-
Method Detail
-
searcher
public ConjunctionIndex.Searcher searcher()
-
writeToOutputStream
public void writeToOutputStream(java.io.DataOutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
fromInputStream
public static ConjunctionIndex fromInputStream(java.io.DataInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
-