Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.analysis.hunspell |
Stemming TokenFilter using a Java implementation of the
Hunspell stemming algorithm.
|
org.apache.lucene.analysis.miscellaneous |
Miscellaneous Tokenstreams.
|
org.apache.lucene.analysis.payloads |
Provides various convenience classes for creating payloads on Tokens.
|
org.apache.lucene.analysis.synonym |
Analysis components for Synonyms.
|
org.apache.lucene.analysis.tokenattributes |
General-purpose attributes for text analysis.
|
org.apache.lucene.classification |
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).
|
org.apache.lucene.classification.document |
Uses already seen data (the indexed documents) to classify new documents.
|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Lucene 8.0 file format.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.collation |
Unicode collation support.
|
org.apache.lucene.collation.tokenattributes |
Custom
AttributeImpl for indexing collation keys as index terms. |
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.misc |
Miscellaneous index tools.
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.queryparser.classic |
A simple query parser implemented with JavaCC.
|
org.apache.lucene.queryparser.flexible.standard.nodes |
Standard Lucene Query Nodes.
|
org.apache.lucene.queryparser.surround.query |
This package contains SrndQuery and its subclasses.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.intervals |
Intervals queries
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.search.suggest.jaspell |
JaSpell-based autosuggest.
|
org.apache.lucene.search.suggest.tst |
Ternary Search Tree based autosuggest.
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
org.apache.lucene.util.bkd |
Block KD-tree, implementing the generic spatial data structure described in
this paper.
|
org.apache.lucene.util.fst |
Finite state transducers
|
org.apache.lucene.util.graph |
Utility classes for working with token streams as graphs.
|
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
TokenStreamToAutomaton.changeToken(BytesRef in)
Subclass and implement this if you need to change the
token (such as escaping certain bytes) before it's
turned into a graph.
|
BytesRef |
Analyzer.normalize(java.lang.String fieldName,
java.lang.String text)
Normalize a string down to the representation that it would have in the
index.
|
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
TokenStreamToAutomaton.changeToken(BytesRef in)
Subclass and implement this if you need to change the
token (such as escaping certain bytes) before it's
turned into a graph.
|
Modifier and Type | Field and Description |
---|---|
private BytesRef |
Stemmer.scratch |
Modifier and Type | Method and Description |
---|---|
(package private) static char[] |
Dictionary.decodeFlags(BytesRef b) |
Modifier and Type | Field and Description |
---|---|
private FST<BytesRef> |
StemmerOverrideFilter.StemmerOverrideMap.fst |
private FST.Arc<BytesRef> |
StemmerOverrideFilter.scratchArc |
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
ConcatenateGraphFilter.EscapingTokenStreamToAutomaton.changeToken(BytesRef in) |
BytesRef |
StemmerOverrideFilter.StemmerOverrideMap.get(char[] buffer,
int bufferLen,
FST.Arc<BytesRef> scratchArc,
FST.BytesReader fstReader)
Returns the value mapped to the given key or
null if the key is not in the FST dictionary. |
BytesRef |
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl.getBytesRef() |
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
ConcatenateGraphFilter.EscapingTokenStreamToAutomaton.changeToken(BytesRef in) |
Modifier and Type | Method and Description |
---|---|
BytesRef |
StemmerOverrideFilter.StemmerOverrideMap.get(char[] buffer,
int bufferLen,
FST.Arc<BytesRef> scratchArc,
FST.BytesReader fstReader)
Returns the value mapped to the given key or
null if the key is not in the FST dictionary. |
Constructor and Description |
---|
StemmerOverrideMap(FST<BytesRef> fst,
boolean ignoreCase)
Creates a new
StemmerOverrideFilter.StemmerOverrideMap |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
NumericPayloadTokenFilter.thePayload |
Modifier and Type | Method and Description |
---|---|
BytesRef |
AbstractEncoder.encode(char[] buffer) |
BytesRef |
PayloadEncoder.encode(char[] buffer) |
BytesRef |
FloatEncoder.encode(char[] buffer,
int offset,
int length) |
BytesRef |
IntegerEncoder.encode(char[] buffer,
int offset,
int length) |
BytesRef |
PayloadEncoder.encode(char[] buffer,
int offset,
int length)
Convert a char array to a
BytesRef |
BytesRef |
IdentityEncoder.encode(char[] buffer,
int offset,
int length) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
SynonymFilter.scratchBytes
Deprecated.
|
private BytesRef |
SynonymGraphFilter.scratchBytes |
Modifier and Type | Field and Description |
---|---|
FST<BytesRef> |
SynonymMap.fst
map<input word, list<ord>>
|
private FST<BytesRef> |
SynonymFilter.fst
Deprecated.
|
private FST<BytesRef> |
SynonymGraphFilter.fst |
private FST.Arc<BytesRef> |
SynonymFilter.scratchArc
Deprecated.
|
private FST.Arc<BytesRef> |
SynonymGraphFilter.scratchArc |
Modifier and Type | Method and Description |
---|---|
private void |
SynonymFilter.addOutput(BytesRef bytes,
int matchInputLength,
int matchEndOffset)
Deprecated.
|
private void |
SynonymGraphFilter.bufferOutputTokens(BytesRef bytes,
int matchInputLength)
Expands the output graph into the necessary tokens, adding
synonyms as side paths parallel to the input tokens, and
buffers them in the output token buffer.
|
Constructor and Description |
---|
SynonymMap(FST<BytesRef> fst,
BytesRefHash words,
int maxHorizontalContext) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
BytesTermAttributeImpl.bytes |
private BytesRef |
PayloadAttributeImpl.payload |
Modifier and Type | Method and Description |
---|---|
BytesRef |
TermToBytesRefAttribute.getBytesRef()
Retrieve this attribute's BytesRef.
|
BytesRef |
CharTermAttributeImpl.getBytesRef() |
BytesRef |
BytesTermAttributeImpl.getBytesRef() |
BytesRef |
PayloadAttribute.getPayload()
Returns this Token's payload.
|
BytesRef |
PayloadAttributeImpl.getPayload() |
Modifier and Type | Method and Description |
---|---|
void |
BytesTermAttribute.setBytesRef(BytesRef bytes)
Sets the
BytesRef of the term |
void |
BytesTermAttributeImpl.setBytesRef(BytesRef bytes) |
void |
PayloadAttribute.setPayload(BytesRef payload)
Sets this Token's payload.
|
void |
PayloadAttributeImpl.setPayload(BytesRef payload) |
Constructor and Description |
---|
PayloadAttributeImpl(BytesRef payload)
Initialize this attribute with the given payload.
|
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<BytesRef> |
CachingNaiveBayesClassifier.cclasses |
private java.util.Map<BytesRef,java.lang.Double> |
CachingNaiveBayesClassifier.classTermFreq |
private java.util.Map<java.lang.String,java.util.Map<BytesRef,java.lang.Integer>> |
CachingNaiveBayesClassifier.termCClassHitCache |
Modifier and Type | Method and Description |
---|---|
ClassificationResult<BytesRef> |
SimpleNaiveBayesClassifier.assignClass(java.lang.String inputDocument) |
ClassificationResult<BytesRef> |
KNearestFuzzyClassifier.assignClass(java.lang.String text) |
ClassificationResult<BytesRef> |
KNearestNeighborClassifier.assignClass(java.lang.String text) |
ClassificationResult<BytesRef> |
BM25NBClassifier.assignClass(java.lang.String inputDocument) |
protected java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesClassifier.assignClassNormalizedList(java.lang.String inputDocument)
Calculate probabilities for all classes for a given input text
|
protected java.util.List<ClassificationResult<BytesRef>> |
CachingNaiveBayesClassifier.assignClassNormalizedList(java.lang.String inputDocument) |
private java.util.List<ClassificationResult<BytesRef>> |
BM25NBClassifier.assignClassNormalizedList(java.lang.String inputDocument)
Calculate probabilities for all classes for a given input text
|
private java.util.List<ClassificationResult<BytesRef>> |
KNearestFuzzyClassifier.buildListFromTopDocs(TopDocs topDocs)
build a list of classification results from search results
|
protected java.util.List<ClassificationResult<BytesRef>> |
KNearestNeighborClassifier.buildListFromTopDocs(TopDocs topDocs)
build a list of classification results from search results
|
private java.util.List<ClassificationResult<BytesRef>> |
CachingNaiveBayesClassifier.calculateLogLikelihood(java.lang.String[] tokenizedText) |
protected ClassificationResult<BytesRef> |
KNearestNeighborClassifier.classifyFromTopDocs(TopDocs knnResults)
TODO
|
java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesClassifier.getClasses(java.lang.String text) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestFuzzyClassifier.getClasses(java.lang.String text) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestNeighborClassifier.getClasses(java.lang.String text) |
java.util.List<ClassificationResult<BytesRef>> |
BM25NBClassifier.getClasses(java.lang.String text) |
java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesClassifier.getClasses(java.lang.String text,
int max) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestFuzzyClassifier.getClasses(java.lang.String text,
int max) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestNeighborClassifier.getClasses(java.lang.String text,
int max) |
java.util.List<ClassificationResult<BytesRef>> |
BM25NBClassifier.getClasses(java.lang.String text,
int max) |
private java.util.Map<BytesRef,java.lang.Integer> |
CachingNaiveBayesClassifier.getWordFreqForClassess(java.lang.String word) |
protected java.util.ArrayList<ClassificationResult<BytesRef>> |
SimpleNaiveBayesClassifier.normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)
Normalize the classification results based on the max score available
|
private java.util.ArrayList<ClassificationResult<BytesRef>> |
BM25NBClassifier.normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)
Normalize the classification results based on the max score available
|
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<ClassificationResult<BytesRef>> |
SimpleNaiveBayesClassifier.normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)
Normalize the classification results based on the max score available
|
private java.util.ArrayList<ClassificationResult<BytesRef>> |
BM25NBClassifier.normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)
Normalize the classification results based on the max score available
|
Modifier and Type | Method and Description |
---|---|
ClassificationResult<BytesRef> |
KNearestNeighborDocumentClassifier.assignClass(Document document) |
ClassificationResult<BytesRef> |
SimpleNaiveBayesDocumentClassifier.assignClass(Document document) |
private java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesDocumentClassifier.assignNormClasses(Document inputDocument) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestNeighborDocumentClassifier.getClasses(Document document) |
java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesDocumentClassifier.getClasses(Document document) |
java.util.List<ClassificationResult<BytesRef>> |
KNearestNeighborDocumentClassifier.getClasses(Document document,
int max) |
java.util.List<ClassificationResult<BytesRef>> |
SimpleNaiveBayesDocumentClassifier.getClasses(Document document,
int max) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
StoredFieldsWriter.MergeVisitor.binaryValue |
Modifier and Type | Method and Description |
---|---|
BytesRef |
StoredFieldsWriter.MergeVisitor.binaryValue() |
Modifier and Type | Method and Description |
---|---|
protected FilteredTermsEnum.AcceptStatus |
DocValuesConsumer.BitsFilteredTermsEnum.accept(BytesRef term) |
abstract void |
PushPostingsWriterBase.addPosition(int position,
BytesRef payload,
int startOffset,
int endOffset)
Add a new position and payload, and start/end offset.
|
abstract void |
TermVectorsWriter.addPosition(int position,
int startOffset,
int endOffset,
BytesRef payload)
Adds a term position and offsets
|
abstract void |
MutablePointValues.getValue(int i,
BytesRef packedValue)
Set
packedValue with a reference to the packed bytes of the i-th value. |
abstract void |
TermVectorsWriter.startTerm(BytesRef term,
int freq)
Adds a term and its term frequency
freq . |
abstract BlockTermState |
PostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen,
NormsProducer norms)
Write all postings for one term; use the provided
TermsEnum to pull a PostingsEnum . |
BlockTermState |
PushPostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen,
NormsProducer norms) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
BlockTermsReader.FieldReader.SegmentTermsEnum.nextIndexTerm |
(package private) BytesRef |
BlockTermsReader.FieldAndTerm.term |
private BytesRef |
FixedGapTermsIndexReader.IndexEnum.term |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
BlockTermsReader.FieldReader.SegmentTermsEnum._next() |
BytesRef |
BlockTermsReader.FieldReader.SegmentTermsEnum.next() |
abstract BytesRef |
TermsIndexReaderBase.FieldIndexEnum.term() |
BytesRef |
BlockTermsReader.FieldReader.SegmentTermsEnum.term() |
BytesRef |
FixedGapTermsIndexReader.IndexEnum.term() |
BytesRef |
VariableGapTermsIndexReader.IndexEnum.term() |
Modifier and Type | Method and Description |
---|---|
void |
VariableGapTermsIndexWriter.FSTFieldWriter.add(BytesRef text,
TermStats stats,
long termsFilePointer) |
void |
FixedGapTermsIndexWriter.SimpleFieldWriter.add(BytesRef text,
TermStats stats,
long termsFilePointer) |
abstract void |
TermsIndexWriterBase.FieldWriter.add(BytesRef text,
TermStats stats,
long termsFilePointer) |
boolean |
VariableGapTermsIndexWriter.FSTFieldWriter.checkIndexTerm(BytesRef text,
TermStats stats) |
boolean |
FixedGapTermsIndexWriter.SimpleFieldWriter.checkIndexTerm(BytesRef text,
TermStats stats) |
abstract boolean |
TermsIndexWriterBase.FieldWriter.checkIndexTerm(BytesRef text,
TermStats stats) |
protected int |
VariableGapTermsIndexWriter.indexedTermPrefixLength(BytesRef priorTerm,
BytesRef indexedTerm)
NOTE: if your codec does not sort in unicode code
point order, you must override this method, to simply
return indexedTerm.length.
|
protected int |
FixedGapTermsIndexWriter.indexedTermPrefixLength(BytesRef priorTerm,
BytesRef indexedTerm)
NOTE: if your codec does not sort in unicode code
point order, you must override this method, to simply
return indexedTerm.length.
|
abstract boolean |
VariableGapTermsIndexWriter.IndexTermSelector.isIndexTerm(BytesRef term,
TermStats stats)
Called sequentially on every term being written,
returning true if this term should be indexed
|
boolean |
VariableGapTermsIndexWriter.EveryNTermSelector.isIndexTerm(BytesRef term,
TermStats stats) |
boolean |
VariableGapTermsIndexWriter.EveryNOrDocFreqTermSelector.isIndexTerm(BytesRef term,
TermStats stats) |
abstract long |
TermsIndexReaderBase.FieldIndexEnum.seek(BytesRef term)
Seeks to "largest" indexed term that's <=
term; returns file pointer index (into the main
terms index file) for that term
|
long |
FixedGapTermsIndexReader.IndexEnum.seek(BytesRef target) |
long |
VariableGapTermsIndexReader.IndexEnum.seek(BytesRef target) |
TermsEnum.SeekStatus |
BlockTermsReader.FieldReader.SegmentTermsEnum.seekCeil(BytesRef target) |
void |
BlockTermsReader.FieldReader.SegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
private int |
BlockTermsWriter.TermsWriter.sharedPrefix(BytesRef term1,
BytesRef term2) |
(package private) void |
BlockTermsWriter.TermsWriter.write(BytesRef text,
TermsEnum termsEnum,
NormsProducer norms) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
IntersectTermsEnum.commonSuffix |
(package private) static BytesRef |
BlockTreeTermsWriter.EMPTY_BYTES_REF |
(package private) BytesRef |
FieldReader.maxTerm |
BytesRef |
BlockTreeTermsWriter.FieldMetaData.maxTerm |
(package private) BytesRef |
FieldReader.minTerm |
BytesRef |
BlockTreeTermsWriter.FieldMetaData.minTerm |
(package private) static BytesRef |
BlockTreeTermsReader.NO_OUTPUT |
(package private) BytesRef |
IntersectTermsEnumFrame.outputPrefix |
BytesRef |
BlockTreeTermsWriter.PendingBlock.prefix |
(package private) BytesRef |
FieldReader.rootCode |
BytesRef |
BlockTreeTermsWriter.FieldMetaData.rootCode |
private BytesRef |
IntersectTermsEnum.savedStartTerm |
private BytesRef |
IntersectTermsEnum.term |
Modifier and Type | Field and Description |
---|---|
(package private) FST.Arc<BytesRef> |
IntersectTermsEnumFrame.arc |
(package private) FST.Arc<BytesRef> |
SegmentTermsEnumFrame.arc |
(package private) static Outputs<BytesRef> |
BlockTreeTermsReader.FST_OUTPUTS |
(package private) static Outputs<BytesRef> |
IntersectTermsEnum.fstOutputs |
(package private) FST<BytesRef> |
FieldReader.index |
FST<BytesRef> |
BlockTreeTermsWriter.PendingBlock.index |
java.util.List<FST<BytesRef>> |
BlockTreeTermsWriter.PendingBlock.subIndices |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
IntersectTermsEnum._next() |
BytesRef |
FieldReader.getMax() |
BytesRef |
FieldReader.getMin() |
BytesRef |
IntersectTermsEnum.next() |
BytesRef |
SegmentTermsEnum.next() |
private static BytesRef |
BlockTreeTermsReader.readBytesRef(IndexInput in) |
BytesRef |
IntersectTermsEnum.term() |
BytesRef |
SegmentTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
private FST.Arc<BytesRef> |
IntersectTermsEnum.getArc(int ord) |
private FST.Arc<BytesRef> |
SegmentTermsEnum.getArc(int ord) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
BlockTreeTermsReader.brToString(BytesRef b) |
(package private) static java.lang.String |
BlockTreeTermsWriter.brToString(BytesRef b) |
(package private) static java.lang.String |
IntersectTermsEnum.brToString(BytesRef b) |
TermsEnum |
FieldReader.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
(package private) void |
IntersectTermsEnumFrame.load(BytesRef frameIndexData) |
private boolean |
SegmentTermsEnumFrame.prefixMatches(BytesRef target) |
(package private) SegmentTermsEnumFrame |
SegmentTermsEnum.pushFrame(FST.Arc<BytesRef> arc,
BytesRef frameData,
int length) |
private void |
BlockTreeTermsWriter.TermsWriter.pushTerm(BytesRef text)
Pushes the new term to the top of the stack, and writes new blocks.
|
void |
SegmentTermsEnumFrame.scanToFloorFrame(BytesRef target) |
TermsEnum.SeekStatus |
SegmentTermsEnumFrame.scanToTerm(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
SegmentTermsEnumFrame.scanToTermLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
SegmentTermsEnumFrame.scanToTermNonLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
IntersectTermsEnum.seekCeil(BytesRef text) |
TermsEnum.SeekStatus |
SegmentTermsEnum.seekCeil(BytesRef target) |
boolean |
IntersectTermsEnum.seekExact(BytesRef text) |
boolean |
SegmentTermsEnum.seekExact(BytesRef target) |
void |
SegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
private void |
IntersectTermsEnum.seekToStartTerm(BytesRef target) |
void |
SegmentTermsEnumFrame.setFloorData(ByteArrayDataInput in,
BytesRef source) |
private boolean |
IntersectTermsEnum.setSavedStartTerm(BytesRef startTerm) |
(package private) void |
Stats.term(BytesRef term) |
void |
BlockTreeTermsWriter.TermsWriter.write(BytesRef text,
TermsEnum termsEnum,
NormsProducer norms)
Writes one term's worth of postings.
|
private static void |
BlockTreeTermsWriter.writeBytesRef(IndexOutput out,
BytesRef bytes) |
Modifier and Type | Method and Description |
---|---|
private void |
BlockTreeTermsWriter.PendingBlock.append(Builder<BytesRef> builder,
FST<BytesRef> subIndex,
IntsRefBuilder scratchIntsRef) |
private void |
BlockTreeTermsWriter.PendingBlock.append(Builder<BytesRef> builder,
FST<BytesRef> subIndex,
IntsRefBuilder scratchIntsRef) |
(package private) SegmentTermsEnumFrame |
SegmentTermsEnum.pushFrame(FST.Arc<BytesRef> arc,
BytesRef frameData,
int length) |
(package private) SegmentTermsEnumFrame |
SegmentTermsEnum.pushFrame(FST.Arc<BytesRef> arc,
long fp,
int length) |
Constructor and Description |
---|
FieldMetaData(FieldInfo fieldInfo,
BytesRef rootCode,
long numTerms,
long indexStartFP,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
int longsSize,
BytesRef minTerm,
BytesRef maxTerm) |
FieldReader(BlockTreeTermsReader parent,
FieldInfo fieldInfo,
long numTerms,
BytesRef rootCode,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
long indexStartFP,
int longsSize,
IndexInput indexIn,
BytesRef minTerm,
BytesRef maxTerm,
boolean openedFromWriter,
BlockTreeTermsReader.FSTLoadMode fstLoadMode) |
IntersectTermsEnum(FieldReader fr,
Automaton automaton,
RunAutomaton runAutomaton,
BytesRef commonSuffix,
BytesRef startTerm) |
PendingBlock(BytesRef prefix,
long fp,
boolean hasTerms,
boolean isFloor,
int floorLeadByte,
java.util.List<FST<BytesRef>> subIndices) |
PendingTerm(BytesRef term,
BlockTermState state) |
Constructor and Description |
---|
PendingBlock(BytesRef prefix,
long fp,
boolean hasTerms,
boolean isFloor,
int floorLeadByte,
java.util.List<FST<BytesRef>> subIndices) |
Modifier and Type | Field and Description |
---|---|
BytesRef |
FSTOrdsOutputs.Output.bytes |
(package private) BytesRef |
OrdsFieldReader.maxTerm |
BytesRef |
OrdsBlockTreeTermsWriter.FieldMetaData.maxTerm |
(package private) BytesRef |
OrdsFieldReader.minTerm |
BytesRef |
OrdsBlockTreeTermsWriter.FieldMetaData.minTerm |
private static BytesRef |
FSTOrdsOutputs.NO_BYTES |
BytesRef |
OrdsBlockTreeTermsWriter.PendingBlock.prefix |
private BytesRef |
OrdsIntersectTermsEnum.savedStartTerm |
private BytesRef |
OrdsIntersectTermsEnum.term |
Modifier and Type | Method and Description |
---|---|
BytesRef |
OrdsFieldReader.getMax() |
BytesRef |
OrdsFieldReader.getMin() |
BytesRef |
OrdsSegmentTermsEnum.next() |
BytesRef |
OrdsIntersectTermsEnum.next() |
private static BytesRef |
OrdsBlockTreeTermsReader.readBytesRef(IndexInput in) |
BytesRef |
OrdsSegmentTermsEnum.term() |
BytesRef |
OrdsIntersectTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
OrdsSegmentTermsEnum.brToString(BytesRef b) |
(package private) static java.lang.String |
OrdsBlockTreeTermsWriter.brToString(BytesRef b) |
(package private) java.lang.String |
OrdsBlockTreeTermsReader.brToString(BytesRef b) |
TermsEnum |
OrdsFieldReader.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
FSTOrdsOutputs.Output |
FSTOrdsOutputs.newOutput(BytesRef bytes,
long startOrd,
long endOrd) |
private boolean |
OrdsSegmentTermsEnumFrame.prefixMatches(BytesRef target) |
private void |
OrdsBlockTreeTermsWriter.TermsWriter.pushTerm(BytesRef text)
Pushes the new term to the top of the stack, and writes new blocks.
|
void |
OrdsSegmentTermsEnumFrame.scanToFloorFrame(BytesRef target) |
TermsEnum.SeekStatus |
OrdsSegmentTermsEnumFrame.scanToTerm(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
OrdsSegmentTermsEnumFrame.scanToTermLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
OrdsSegmentTermsEnumFrame.scanToTermNonLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
OrdsSegmentTermsEnum.seekCeil(BytesRef target) |
TermsEnum.SeekStatus |
OrdsIntersectTermsEnum.seekCeil(BytesRef text) |
boolean |
OrdsSegmentTermsEnum.seekExact(BytesRef target) |
boolean |
OrdsIntersectTermsEnum.seekExact(BytesRef text) |
void |
OrdsSegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
private void |
OrdsIntersectTermsEnum.seekToStartTerm(BytesRef target) |
void |
OrdsSegmentTermsEnumFrame.setFloorData(ByteArrayDataInput in,
BytesRef source) |
private boolean |
OrdsIntersectTermsEnum.setSavedStartTerm(BytesRef startTerm) |
void |
OrdsBlockTreeTermsWriter.TermsWriter.write(BytesRef text,
TermsEnum termsEnum,
NormsProducer norms)
Writes one term's worth of postings.
|
private static void |
OrdsBlockTreeTermsWriter.writeBytesRef(IndexOutput out,
BytesRef bytes) |
Constructor and Description |
---|
FieldMetaData(FieldInfo fieldInfo,
FSTOrdsOutputs.Output rootCode,
long numTerms,
long indexStartFP,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
int longsSize,
BytesRef minTerm,
BytesRef maxTerm) |
OrdsFieldReader(OrdsBlockTreeTermsReader parent,
FieldInfo fieldInfo,
long numTerms,
FSTOrdsOutputs.Output rootCode,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
long indexStartFP,
int longsSize,
IndexInput indexIn,
BytesRef minTerm,
BytesRef maxTerm) |
OrdsIntersectTermsEnum(OrdsFieldReader fr,
CompiledAutomaton compiled,
BytesRef startTerm) |
Output(BytesRef bytes,
long startOrd,
long endOrd) |
PendingBlock(BytesRef prefix,
long fp,
boolean hasTerms,
long totalTermCount,
boolean isFloor,
int floorLeadByte,
java.util.List<OrdsBlockTreeTermsWriter.SubIndex> subIndices) |
PendingTerm(BytesRef term,
BlockTermState state) |
Modifier and Type | Method and Description |
---|---|
BytesRef |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.getMax() |
BytesRef |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.getMin() |
BytesRef |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.next() |
BytesRef |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
void |
FuzzySet.addValue(BytesRef value)
Records a value in the set.
|
FuzzySet.ContainsResult |
FuzzySet.contains(BytesRef value)
The main method required for a Bloom filter which, given a value determines set membership.
|
abstract int |
HashFunction.hash(BytesRef bytes)
Hashes the contents of the referenced bytes
|
int |
MurmurHash2.hash(BytesRef br) |
TermsEnum |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum.SeekStatus |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.seekCeil(BytesRef text) |
boolean |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.seekExact(BytesRef text) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
CompressingStoredFieldsReader.BlockState.bytes |
private BytesRef |
CompressingTermVectorsWriter.lastTerm |
private BytesRef |
CompressingTermVectorsReader.TVPostingsEnum.payload |
private BytesRef |
CompressingTermVectorsReader.TVFields.payloadBytes |
private BytesRef |
CompressingTermVectorsReader.TVTerms.payloadBytes |
private BytesRef |
CompressingTermVectorsReader.TVTermsEnum.payloads |
private BytesRef |
CompressingStoredFieldsReader.BlockState.spare |
private BytesRef |
CompressingTermVectorsReader.TVFields.suffixBytes |
private BytesRef |
CompressingTermVectorsReader.TVTermsEnum.term |
private BytesRef |
CompressingTermVectorsReader.TVTerms.termBytes |
Modifier and Type | Method and Description |
---|---|
BytesRef |
CompressingTermVectorsReader.TVPostingsEnum.getPayload() |
BytesRef |
CompressingTermVectorsReader.TVTermsEnum.next() |
BytesRef |
CompressingTermVectorsReader.TVTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
void |
CompressingTermVectorsWriter.addPosition(int position,
int startOffset,
int endOffset,
BytesRef payload) |
void |
CompressionMode.DeflateDecompressor.decompress(DataInput in,
int originalLength,
int offset,
int length,
BytesRef bytes) |
abstract void |
Decompressor.decompress(DataInput in,
int originalLength,
int offset,
int length,
BytesRef bytes)
Decompress bytes that were stored between offsets
offset and
offset+length in the original stream from the compressed
stream in to bytes . |
void |
CompressingTermVectorsReader.TVPostingsEnum.reset(int freq,
int positionIndex,
int[] positions,
int[] startOffsets,
int[] lengths,
BytesRef payloads,
int[] payloadIndex) |
(package private) void |
CompressingTermVectorsReader.TVTermsEnum.reset(int numTerms,
int flags,
int[] prefixLengths,
int[] suffixLengths,
int[] termFreqs,
int[] positionIndex,
int[] positions,
int[] startOffsets,
int[] lengths,
int[] payloadIndex,
BytesRef payloads,
ByteArrayDataInput in) |
TermsEnum.SeekStatus |
CompressingTermVectorsReader.TVTermsEnum.seekCeil(BytesRef text) |
void |
CompressingTermVectorsWriter.startTerm(BytesRef term,
int freq) |
Constructor and Description |
---|
TVFields(int[] fieldNums,
int[] fieldFlags,
int[] fieldNumOffs,
int[] numTerms,
int[] fieldLengths,
int[][] prefixLengths,
int[][] suffixLengths,
int[][] termFreqs,
int[][] positionIndex,
int[][] positions,
int[][] startOffsets,
int[][] lengths,
BytesRef payloadBytes,
int[][] payloadIndex,
BytesRef suffixBytes) |
TVTerms(int numTerms,
int flags,
int[] prefixLengths,
int[] suffixLengths,
int[] termFreqs,
int[] positionIndex,
int[] positions,
int[] startOffsets,
int[] lengths,
int[] payloadIndex,
BytesRef payloadBytes,
BytesRef termBytes) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
VersionFieldReader.maxTerm |
BytesRef |
VersionBlockTreeTermsWriter.FieldMetaData.maxTerm |
(package private) BytesRef |
VersionFieldReader.minTerm |
BytesRef |
VersionBlockTreeTermsWriter.FieldMetaData.minTerm |
private BytesRef |
SinglePostingsEnum.payload |
BytesRef |
VersionBlockTreeTermsWriter.PendingBlock.prefix |
Modifier and Type | Field and Description |
---|---|
(package private) FST.Arc<PairOutputs.Pair<BytesRef,java.lang.Long>> |
IDVersionSegmentTermsEnumFrame.arc |
(package private) static PairOutputs<BytesRef,java.lang.Long> |
VersionBlockTreeTermsWriter.FST_OUTPUTS |
(package private) FST<PairOutputs.Pair<BytesRef,java.lang.Long>> |
VersionFieldReader.index |
FST<PairOutputs.Pair<BytesRef,java.lang.Long>> |
VersionBlockTreeTermsWriter.PendingBlock.index |
(package private) static PairOutputs.Pair<BytesRef,java.lang.Long> |
VersionBlockTreeTermsWriter.NO_OUTPUT |
(package private) PairOutputs.Pair<BytesRef,java.lang.Long> |
VersionFieldReader.rootCode |
PairOutputs.Pair<BytesRef,java.lang.Long> |
VersionBlockTreeTermsWriter.FieldMetaData.rootCode |
java.util.List<FST<PairOutputs.Pair<BytesRef,java.lang.Long>>> |
VersionBlockTreeTermsWriter.PendingBlock.subIndices |
Modifier and Type | Method and Description |
---|---|
BytesRef |
VersionFieldReader.getMax() |
BytesRef |
VersionFieldReader.getMin() |
BytesRef |
SingleDocsEnum.getPayload() |
BytesRef |
SinglePostingsEnum.getPayload() |
BytesRef |
IDVersionSegmentTermsEnum.next() |
private static BytesRef |
VersionBlockTreeTermsReader.readBytesRef(IndexInput in) |
BytesRef |
IDVersionSegmentTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
private FST.Arc<PairOutputs.Pair<BytesRef,java.lang.Long>> |
IDVersionSegmentTermsEnum.getArc(int ord) |
Modifier and Type | Method and Description |
---|---|
void |
IDVersionPostingsWriter.addPosition(int position,
BytesRef payload,
int startOffset,
int endOffset) |
(package private) java.lang.String |
VersionBlockTreeTermsReader.brToString(BytesRef b) |
(package private) static java.lang.String |
IDVersionSegmentTermsEnum.brToString(BytesRef b) |
(package private) static java.lang.String |
VersionBlockTreeTermsWriter.brToString(BytesRef b) |
static long |
IDVersionPostingsFormat.bytesToLong(BytesRef bytes) |
static void |
IDVersionPostingsFormat.longToBytes(long v,
BytesRef bytes) |
private boolean |
IDVersionSegmentTermsEnumFrame.prefixMatches(BytesRef target) |
private void |
VersionBlockTreeTermsWriter.TermsWriter.pushTerm(BytesRef text)
Pushes the new term to the top of the stack, and writes new blocks.
|
void |
IDVersionSegmentTermsEnumFrame.scanToFloorFrame(BytesRef target) |
TermsEnum.SeekStatus |
IDVersionSegmentTermsEnumFrame.scanToTerm(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
IDVersionSegmentTermsEnumFrame.scanToTermLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
IDVersionSegmentTermsEnumFrame.scanToTermNonLeaf(BytesRef target,
boolean exactOnly) |
TermsEnum.SeekStatus |
IDVersionSegmentTermsEnum.seekCeil(BytesRef target) |
boolean |
IDVersionSegmentTermsEnum.seekExact(BytesRef target) |
boolean |
IDVersionSegmentTermsEnum.seekExact(BytesRef target,
long minIDVersion)
Optimized version of
IDVersionSegmentTermsEnum.seekExact(BytesRef) that can
sometimes fail-fast if the version indexed with the requested ID
is less than the specified minIDVersion. |
void |
IDVersionSegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
void |
IDVersionSegmentTermsEnumFrame.setFloorData(ByteArrayDataInput in,
BytesRef source) |
void |
VersionBlockTreeTermsWriter.TermsWriter.write(BytesRef text,
TermsEnum termsEnum,
NormsProducer norms)
Writes one term's worth of postings.
|
private static void |
VersionBlockTreeTermsWriter.writeBytesRef(IndexOutput out,
BytesRef bytes) |
Modifier and Type | Method and Description |
---|---|
private void |
VersionBlockTreeTermsWriter.PendingBlock.append(Builder<PairOutputs.Pair<BytesRef,java.lang.Long>> builder,
FST<PairOutputs.Pair<BytesRef,java.lang.Long>> subIndex,
IntsRefBuilder scratchIntsRef) |
private void |
VersionBlockTreeTermsWriter.PendingBlock.append(Builder<PairOutputs.Pair<BytesRef,java.lang.Long>> builder,
FST<PairOutputs.Pair<BytesRef,java.lang.Long>> subIndex,
IntsRefBuilder scratchIntsRef) |
(package private) IDVersionSegmentTermsEnumFrame |
IDVersionSegmentTermsEnum.pushFrame(FST.Arc<PairOutputs.Pair<BytesRef,java.lang.Long>> arc,
long fp,
int length) |
(package private) IDVersionSegmentTermsEnumFrame |
IDVersionSegmentTermsEnum.pushFrame(FST.Arc<PairOutputs.Pair<BytesRef,java.lang.Long>> arc,
PairOutputs.Pair<BytesRef,java.lang.Long> frameData,
int length) |
(package private) IDVersionSegmentTermsEnumFrame |
IDVersionSegmentTermsEnum.pushFrame(FST.Arc<PairOutputs.Pair<BytesRef,java.lang.Long>> arc,
PairOutputs.Pair<BytesRef,java.lang.Long> frameData,
int length) |
Constructor and Description |
---|
FieldMetaData(FieldInfo fieldInfo,
PairOutputs.Pair<BytesRef,java.lang.Long> rootCode,
long numTerms,
long indexStartFP,
int longsSize,
BytesRef minTerm,
BytesRef maxTerm) |
PendingBlock(BytesRef prefix,
long maxVersion,
long fp,
boolean hasTerms,
boolean isFloor,
int floorLeadByte,
java.util.List<FST<PairOutputs.Pair<BytesRef,java.lang.Long>>> subIndices) |
PendingTerm(BytesRef term,
BlockTermState state) |
VersionFieldReader(VersionBlockTreeTermsReader parent,
FieldInfo fieldInfo,
long numTerms,
PairOutputs.Pair<BytesRef,java.lang.Long> rootCode,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
long indexStartFP,
int longsSize,
IndexInput indexIn,
BytesRef minTerm,
BytesRef maxTerm) |
Constructor and Description |
---|
FieldMetaData(FieldInfo fieldInfo,
PairOutputs.Pair<BytesRef,java.lang.Long> rootCode,
long numTerms,
long indexStartFP,
int longsSize,
BytesRef minTerm,
BytesRef maxTerm) |
PendingBlock(BytesRef prefix,
long maxVersion,
long fp,
boolean hasTerms,
boolean isFloor,
int floorLeadByte,
java.util.List<FST<PairOutputs.Pair<BytesRef,java.lang.Long>>> subIndices) |
VersionFieldReader(VersionBlockTreeTermsReader parent,
FieldInfo fieldInfo,
long numTerms,
PairOutputs.Pair<BytesRef,java.lang.Long> rootCode,
long sumTotalTermFreq,
long sumDocFreq,
int docCount,
long indexStartFP,
int longsSize,
IndexInput indexIn,
BytesRef minTerm,
BytesRef maxTerm) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
Lucene50PostingsReader.EverythingEnum.payload |
(package private) BytesRef |
Lucene50PostingsReader.BlockImpactsEverythingEnum.payload |
Modifier and Type | Method and Description |
---|---|
BytesRef |
Lucene50PostingsReader.BlockDocsEnum.getPayload() |
BytesRef |
Lucene50PostingsReader.BlockPostingsEnum.getPayload() |
BytesRef |
Lucene50PostingsReader.EverythingEnum.getPayload() |
BytesRef |
Lucene50PostingsReader.BlockImpactsEverythingEnum.getPayload() |
Modifier and Type | Method and Description |
---|---|
void |
Lucene50PostingsWriter.addPosition(int position,
BytesRef payload,
int startOffset,
int endOffset) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
Lucene70DocValuesProducer.TermsDict.term |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
Lucene70DocValuesProducer.TermsDict.getFirstTermFromBlock(long block) |
private BytesRef |
Lucene70DocValuesProducer.TermsDict.getTermFromIndex(long index) |
BytesRef |
Lucene70DocValuesProducer.BaseSortedDocValues.lookupOrd(int ord) |
BytesRef |
Lucene70DocValuesProducer.BaseSortedSetDocValues.lookupOrd(long ord) |
BytesRef |
Lucene70DocValuesProducer.TermsDict.next() |
BytesRef |
Lucene70DocValuesProducer.TermsDict.term() |
Modifier and Type | Method and Description |
---|---|
int |
Lucene70DocValuesProducer.BaseSortedDocValues.lookupTerm(BytesRef key) |
long |
Lucene70DocValuesProducer.BaseSortedSetDocValues.lookupTerm(BytesRef key) |
private long |
Lucene70DocValuesProducer.TermsDict.seekBlock(BytesRef text) |
TermsEnum.SeekStatus |
Lucene70DocValuesProducer.TermsDict.seekCeil(BytesRef text) |
private long |
Lucene70DocValuesProducer.TermsDict.seekTermsIndex(BytesRef text) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
Lucene80DocValuesProducer.TermsDict.term |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
Lucene80DocValuesProducer.TermsDict.getFirstTermFromBlock(long block) |
private BytesRef |
Lucene80DocValuesProducer.TermsDict.getTermFromIndex(long index) |
BytesRef |
Lucene80DocValuesProducer.BaseSortedDocValues.lookupOrd(int ord) |
BytesRef |
Lucene80DocValuesProducer.BaseSortedSetDocValues.lookupOrd(long ord) |
BytesRef |
Lucene80DocValuesProducer.TermsDict.next() |
BytesRef |
Lucene80DocValuesProducer.TermsDict.term() |
Modifier and Type | Method and Description |
---|---|
int |
Lucene80DocValuesProducer.BaseSortedDocValues.lookupTerm(BytesRef key) |
long |
Lucene80DocValuesProducer.BaseSortedSetDocValues.lookupTerm(BytesRef key) |
private long |
Lucene80DocValuesProducer.TermsDict.seekBlock(BytesRef text) |
TermsEnum.SeekStatus |
Lucene80DocValuesProducer.TermsDict.seekCeil(BytesRef text) |
private long |
Lucene80DocValuesProducer.TermsDict.seekTermsIndex(BytesRef text) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
LegacySortedDocValues.empty
Deprecated.
|
private BytesRef |
DirectPostingsFormat.LowFreqPostingsEnum.payload |
private BytesRef |
DirectPostingsFormat.HighFreqPostingsEnum.payload |
private BytesRef |
DirectPostingsFormat.DirectField.DirectTermsEnum.scratch |
private BytesRef |
DirectPostingsFormat.DirectField.DirectIntersectTermsEnum.scratch |
(package private) BytesRef |
FSTTermsReader.TermsReader.SegmentTermsEnum.term |
(package private) BytesRef |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.term |
Modifier and Type | Method and Description |
---|---|
BytesRef |
LegacyBinaryDocValuesWrapper.binaryValue()
Deprecated.
|
private BytesRef |
FSTTermsReader.TermsReader.IntersectTermsEnum.doSeekCeil(BytesRef target) |
(package private) BytesRef |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.doSeekCeil(BytesRef target) |
abstract BytesRef |
LegacyBinaryDocValues.get(int docID)
Deprecated.
Lookup the value for document.
|
BytesRef |
LegacySortedDocValues.get(int docID)
Deprecated.
|
BytesRef |
DirectPostingsFormat.LowFreqDocsEnumNoTF.getPayload() |
BytesRef |
DirectPostingsFormat.LowFreqDocsEnumNoPos.getPayload() |
BytesRef |
DirectPostingsFormat.LowFreqDocsEnum.getPayload() |
BytesRef |
DirectPostingsFormat.LowFreqPostingsEnum.getPayload() |
BytesRef |
DirectPostingsFormat.HighFreqDocsEnum.getPayload() |
BytesRef |
DirectPostingsFormat.HighFreqPostingsEnum.getPayload() |
BytesRef |
LegacySortedDocValuesWrapper.lookupOrd(int ord)
Deprecated.
|
abstract BytesRef |
LegacySortedDocValues.lookupOrd(int ord)
Deprecated.
Retrieves the value for the specified ordinal.
|
abstract BytesRef |
LegacySortedSetDocValues.lookupOrd(long ord)
Deprecated.
Retrieves the value for the specified ordinal.
|
BytesRef |
LegacySortedSetDocValuesWrapper.lookupOrd(long ord)
Deprecated.
|
BytesRef |
FSTTermsReader.TermsReader.SegmentTermsEnum.next() |
BytesRef |
FSTTermsReader.TermsReader.IntersectTermsEnum.next() |
BytesRef |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.next() |
BytesRef |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.next() |
BytesRef |
DirectPostingsFormat.DirectField.DirectTermsEnum.next() |
BytesRef |
DirectPostingsFormat.DirectField.DirectIntersectTermsEnum.next() |
private BytesRef |
DirectPostingsFormat.DirectField.DirectTermsEnum.setTerm() |
BytesRef |
FSTTermsReader.TermsReader.SegmentTermsEnum.term() |
BytesRef |
FSTTermsReader.TermsReader.IntersectTermsEnum.term() |
BytesRef |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.term() |
BytesRef |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.term() |
BytesRef |
DirectPostingsFormat.DirectField.DirectTermsEnum.term() |
BytesRef |
DirectPostingsFormat.DirectField.DirectIntersectTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<BytesRef> |
LegacyDocValuesIterables.binaryIterable(FieldInfo field,
DocValuesProducer valuesProducer,
int maxDoc)
Deprecated.
Consume
BinaryDocValues instead. |
static java.lang.Iterable<BytesRef> |
LegacyDocValuesIterables.valuesIterable(SortedDocValues values)
Deprecated.
Consume
SortedDocValues instead. |
static java.lang.Iterable<BytesRef> |
LegacyDocValuesIterables.valuesIterable(SortedSetDocValues values)
Deprecated.
Consume
SortedSetDocValues instead. |
Modifier and Type | Method and Description |
---|---|
(package private) int |
DirectPostingsFormat.DirectField.compare(int ord,
BytesRef other) |
private BytesRef |
FSTTermsReader.TermsReader.IntersectTermsEnum.doSeekCeil(BytesRef target) |
(package private) BytesRef |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.doSeekCeil(BytesRef target) |
private int |
DirectPostingsFormat.DirectField.DirectTermsEnum.findTerm(BytesRef term) |
void |
FSTOrdTermsWriter.TermsWriter.finishTerm(BytesRef text,
BlockTermState state) |
void |
FSTTermsWriter.TermsWriter.finishTerm(BytesRef text,
BlockTermState state) |
TermsEnum |
FSTTermsReader.TermsReader.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
FSTOrdTermsReader.TermsReader.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
DirectPostingsFormat.DirectField.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
long |
LegacySortedSetDocValues.lookupTerm(BytesRef key)
Deprecated.
If
key exists, returns its ordinal, else
returns -insertionPoint-1 , like Arrays.binarySearch . |
int |
LegacySortedDocValues.lookupTerm(BytesRef key)
Deprecated.
If
key exists, returns its ordinal, else
returns -insertionPoint-1 , like Arrays.binarySearch . |
TermsEnum.SeekStatus |
FSTTermsReader.TermsReader.SegmentTermsEnum.seekCeil(BytesRef target) |
TermsEnum.SeekStatus |
FSTTermsReader.TermsReader.IntersectTermsEnum.seekCeil(BytesRef target) |
TermsEnum.SeekStatus |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.seekCeil(BytesRef target) |
TermsEnum.SeekStatus |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.seekCeil(BytesRef target) |
TermsEnum.SeekStatus |
DirectPostingsFormat.DirectField.DirectTermsEnum.seekCeil(BytesRef term) |
TermsEnum.SeekStatus |
DirectPostingsFormat.DirectField.DirectIntersectTermsEnum.seekCeil(BytesRef term) |
boolean |
FSTTermsReader.TermsReader.SegmentTermsEnum.seekExact(BytesRef target) |
boolean |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.seekExact(BytesRef target) |
boolean |
DirectPostingsFormat.DirectField.DirectTermsEnum.seekExact(BytesRef term) |
void |
FSTTermsReader.TermsReader.SegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
void |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum.seekExact(BytesRef target,
TermState otherState) |
void |
DirectPostingsFormat.DirectField.DirectTermsEnum.seekExact(BytesRef term,
TermState state) |
Modifier and Type | Method and Description |
---|---|
private void |
DirectDocValuesConsumer.addBinaryFieldValues(FieldInfo field,
java.lang.Iterable<BytesRef> values) |
Constructor and Description |
---|
DirectIntersectTermsEnum(CompiledAutomaton compiled,
BytesRef startTerm) |
IntersectTermsEnum(CompiledAutomaton compiled,
BytesRef startTerm) |
IntersectTermsEnum(CompiledAutomaton compiled,
BytesRef startTerm) |
Modifier and Type | Field and Description |
---|---|
(package private) static BytesRef |
SimpleTextFieldInfosFormat.ATT_KEY |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.ATT_VALUE |
static BytesRef |
SimpleTextPointsWriter.BLOCK_COUNT |
static BytesRef |
SimpleTextPointsWriter.BLOCK_DOC_ID |
static BytesRef |
SimpleTextPointsWriter.BLOCK_FP |
static BytesRef |
SimpleTextPointsWriter.BLOCK_VALUE |
static BytesRef |
SimpleTextPointsWriter.BYTES_PER_DIM |
(package private) static BytesRef |
SimpleTextUtil.CHECKSUM |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.DATA_DIM_COUNT |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.DIM_NUM_BYTES |
(package private) static BytesRef |
SimpleTextLiveDocsFormat.DOC |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.DOC |
(package private) static BytesRef |
SimpleTextFieldsWriter.DOC |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.DOC |
static BytesRef |
SimpleTextPointsWriter.DOC_COUNT |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.DOCVALUES |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.DOCVALUES_GEN |
static BytesRef |
SimpleTextPointsWriter.END |
(package private) static BytesRef |
SimpleTextLiveDocsFormat.END |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.END |
(package private) static BytesRef |
SimpleTextFieldsWriter.END |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.END |
(package private) static BytesRef |
SimpleTextDocValuesWriter.END |
(package private) static BytesRef |
SimpleTextFieldsWriter.END_OFFSET |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.ENDOFFSET |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.FIELD |
(package private) static BytesRef |
SimpleTextFieldsWriter.FIELD |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELD |
(package private) static BytesRef |
SimpleTextDocValuesWriter.FIELD |
static BytesRef |
SimpleTextPointsWriter.FIELD_COUNT |
static BytesRef |
SimpleTextPointsWriter.FIELD_FP |
static BytesRef |
SimpleTextPointsWriter.FIELD_FP_NAME |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELDNAME |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELDOFFSETS |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELDPAYLOADS |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELDPOSITIONS |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.FIELDTERMCOUNT |
(package private) static BytesRef |
SimpleTextFieldsWriter.FREQ |
(package private) static BytesRef |
SimpleTextCompoundFormat.HEADER |
static BytesRef |
SimpleTextPointsWriter.INDEX_COUNT |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.INDEX_DIM_COUNT |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.INDEXOPTIONS |
(package private) static BytesRef |
SimpleTextDocValuesWriter.LENGTH |
static BytesRef |
SimpleTextPointsWriter.MAX_LEAF_POINTS |
static BytesRef |
SimpleTextPointsWriter.MAX_VALUE |
(package private) static BytesRef |
SimpleTextDocValuesWriter.MAXLENGTH |
static BytesRef |
SimpleTextPointsWriter.MIN_VALUE |
(package private) static BytesRef |
SimpleTextDocValuesWriter.MINVALUE |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.NAME |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.NAME |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.NORMS |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.NUM_ATTS |
static BytesRef |
SimpleTextPointsWriter.NUM_DATA_DIMS |
static BytesRef |
SimpleTextPointsWriter.NUM_INDEX_DIMS |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.NUMBER |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.NUMFIELDS |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.NUMFIELDS |
(package private) static BytesRef |
SimpleTextDocValuesWriter.NUMVALUES |
(package private) static BytesRef |
SimpleTextDocValuesWriter.ORDPATTERN |
(package private) static BytesRef |
SimpleTextDocValuesWriter.PATTERN |
private BytesRef |
SimpleTextFieldsReader.SimpleTextPostingsEnum.payload |
(package private) static BytesRef |
SimpleTextFieldsWriter.PAYLOAD |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.PAYLOAD |
private BytesRef[] |
SimpleTextTermVectorsReader.SimpleTVPostings.payloads |
private BytesRef[] |
SimpleTextTermVectorsReader.SimpleTVPostingsEnum.payloads |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.PAYLOADS |
static BytesRef |
SimpleTextPointsWriter.POINT_COUNT |
(package private) static BytesRef |
SimpleTextFieldsWriter.POS |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.POSITION |
(package private) BytesRef |
SimpleTextBKDWriter.scratchBytesRef1 |
(package private) BytesRef |
SimpleTextBKDWriter.scratchBytesRef2 |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_ATT_KEY |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_ATT_VALUE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_DIAG_KEY |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_DIAG_VALUE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_DOCCOUNT |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_FILE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_ID |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_MIN_VERSION |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_NUM_ATT |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_NUM_DIAG |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_NUM_FILES |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SELECTOR_TYPE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SORT |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SORT_FIELD |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SORT_MISSING |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SORT_REVERSE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_SORT_TYPE |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_USECOMPOUND |
(package private) static BytesRef |
SimpleTextSegmentInfoFormat.SI_VERSION |
(package private) static BytesRef |
SimpleTextLiveDocsFormat.SIZE |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.SOFT_DELETES |
static BytesRef |
SimpleTextPointsWriter.SPLIT_COUNT |
static BytesRef |
SimpleTextPointsWriter.SPLIT_DIM |
static BytesRef |
SimpleTextPointsWriter.SPLIT_VALUE |
(package private) static BytesRef |
SimpleTextFieldsWriter.START_OFFSET |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.STARTOFFSET |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.STORETV |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.STORETVOFF |
(package private) static BytesRef |
SimpleTextFieldInfosFormat.STORETVPOS |
(package private) static BytesRef |
SimpleTextCompoundFormat.TABLE |
(package private) static BytesRef |
SimpleTextCompoundFormat.TABLEEND |
(package private) static BytesRef |
SimpleTextCompoundFormat.TABLENAME |
(package private) static BytesRef |
SimpleTextCompoundFormat.TABLEPOS |
(package private) static BytesRef |
SimpleTextCompoundFormat.TABLESTART |
(package private) static BytesRef |
SimpleTextFieldsWriter.TERM |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.TERMFREQ |
(package private) static BytesRef |
SimpleTextTermVectorsWriter.TERMTEXT |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE |
(package private) static BytesRef |
SimpleTextDocValuesWriter.TYPE |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_BINARY |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_DOUBLE |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_FLOAT |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_INT |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_LONG |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.TYPE_STRING |
(package private) static BytesRef |
SimpleTextStoredFieldsWriter.VALUE |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map.Entry<BytesRef,SimpleTextTermVectorsReader.SimpleTVPostings> |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.current |
(package private) java.util.Iterator<java.util.Map.Entry<BytesRef,SimpleTextTermVectorsReader.SimpleTVPostings>> |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.iterator |
(package private) java.util.SortedMap<BytesRef,SimpleTextTermVectorsReader.SimpleTVPostings> |
SimpleTextTermVectorsReader.SimpleTVTerms.terms |
(package private) java.util.SortedMap<BytesRef,SimpleTextTermVectorsReader.SimpleTVPostings> |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.terms |
Modifier and Type | Method and Description |
---|---|
static BytesRef |
SimpleTextUtil.fromBytesRefString(java.lang.String s)
Inverse of
toString() . |
BytesRef |
SimpleTextTermVectorsReader.SimpleTVDocsEnum.getPayload() |
BytesRef |
SimpleTextTermVectorsReader.SimpleTVPostingsEnum.getPayload() |
BytesRef |
SimpleTextFieldsReader.SimpleTextDocsEnum.getPayload() |
BytesRef |
SimpleTextFieldsReader.SimpleTextPostingsEnum.getPayload() |
BytesRef |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.next() |
BytesRef |
SimpleTextFieldsReader.SimpleTextTermsEnum.next() |
BytesRef |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.term() |
BytesRef |
SimpleTextFieldsReader.SimpleTextTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTextTermVectorsWriter.addPosition(int position,
int startOffset,
int endOffset,
BytesRef payload) |
private boolean |
SimpleTextStoredFieldsReader.equalsAt(BytesRef a,
BytesRef b,
int bOffset) |
private int |
SimpleTextPointsReader.parseInt(BytesRef prefix) |
private int |
SimpleTextBKDReader.parseInt(BytesRefBuilder scratch,
BytesRef prefix) |
private int |
SimpleTextLiveDocsFormat.parseIntAt(BytesRef bytes,
int offset,
CharsRefBuilder scratch) |
private long |
SimpleTextPointsReader.parseLong(BytesRef prefix) |
private void |
SimpleTextStoredFieldsReader.readField(BytesRef type,
FieldInfo fieldInfo,
StoredFieldVisitor visitor) |
void |
SimpleTextTermVectorsReader.SimpleTVPostingsEnum.reset(int[] positions,
int[] startOffsets,
int[] endOffsets,
BytesRef[] payloads) |
TermsEnum.SeekStatus |
SimpleTextTermVectorsReader.SimpleTVTermsEnum.seekCeil(BytesRef text) |
TermsEnum.SeekStatus |
SimpleTextFieldsReader.SimpleTextTermsEnum.seekCeil(BytesRef text) |
boolean |
SimpleTextFieldsReader.SimpleTextTermsEnum.seekExact(BytesRef text) |
private boolean |
SimpleTextDocValuesReader.startsWith(BytesRef prefix)
Used only in ctor:
|
private boolean |
SimpleTextPointsReader.startsWith(BytesRef prefix) |
private boolean |
SimpleTextBKDReader.startsWith(BytesRefBuilder scratch,
BytesRef prefix) |
void |
SimpleTextTermVectorsWriter.startTerm(BytesRef term,
int freq) |
private java.lang.String |
SimpleTextDocValuesReader.stripPrefix(BytesRef prefix)
Used only in ctor:
|
private java.lang.String |
SimpleTextPointsReader.stripPrefix(BytesRef prefix) |
private java.lang.String |
SimpleTextBKDReader.stripPrefix(BytesRefBuilder scratch,
BytesRef prefix) |
private java.lang.String |
SimpleTextCompoundFormat.stripPrefix(BytesRefBuilder scratch,
BytesRef prefix) |
private boolean |
SimpleTextBKDWriter.valueInBounds(BytesRef packedValue,
byte[] minPackedValue,
byte[] maxPackedValue)
Called only in assert
|
private void |
SimpleTextStoredFieldsWriter.write(BytesRef bytes) |
private void |
SimpleTextFieldsWriter.write(BytesRef b) |
private void |
SimpleTextTermVectorsWriter.write(BytesRef bytes) |
static void |
SimpleTextUtil.write(DataOutput out,
BytesRef b) |
private void |
SimpleTextPointsWriter.write(IndexOutput out,
BytesRef b) |
private void |
SimpleTextBKDWriter.write(IndexOutput out,
BytesRef b) |
Modifier and Type | Method and Description |
---|---|
private static int |
SimpleTextBKDWriter.runLen(java.util.function.IntFunction<BytesRef> packedValues,
int start,
int end,
int byteOffset) |
private boolean |
SimpleTextBKDWriter.valuesInOrderAndBounds(int count,
int sortedDim,
byte[] minPackedValue,
byte[] maxPackedValue,
java.util.function.IntFunction<BytesRef> values,
int[] docs,
int docsOffset) |
protected void |
SimpleTextBKDWriter.writeLeafBlockPackedValues(IndexOutput out,
int[] commonPrefixLengths,
int count,
int sortedDim,
java.util.function.IntFunction<BytesRef> packedValues) |
private void |
SimpleTextBKDWriter.writeLeafBlockPackedValuesRange(IndexOutput out,
int[] commonPrefixLengths,
int start,
int end,
java.util.function.IntFunction<BytesRef> packedValues) |
Constructor and Description |
---|
SimpleTVTermsEnum(java.util.SortedMap<BytesRef,SimpleTextTermVectorsReader.SimpleTVPostings> terms) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
CollationDocValuesField.bytes |
Modifier and Type | Method and Description |
---|---|
BytesRef |
CollatedTermAttributeImpl.getBytesRef() |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
SortedSetDocValuesRangeQuery.lowerValue |
private BytesRef |
SortedSetDocValuesRangeQuery.upperValue |
private BytesRef |
Field.BinaryTokenStream.value |
Modifier and Type | Method and Description |
---|---|
BytesRef |
LazyDocument.LazyField.binaryValue() |
BytesRef |
Field.binaryValue() |
BytesRef |
Document.getBinaryValue(java.lang.String name)
Returns an array of bytes for the first (or only) field that has the name
specified as the method parameter.
|
BytesRef[] |
Document.getBinaryValues(java.lang.String name)
Returns an array of byte arrays for of the fields that have the name specified
as the method parameter.
|
private static BytesRef |
BigIntegerPoint.pack(java.math.BigInteger... point) |
private static BytesRef |
BinaryPoint.pack(byte[]... point) |
private static BytesRef |
DoublePoint.pack(double... point) |
private static BytesRef |
HalfFloatPoint.pack(float... point) |
private static BytesRef |
FloatPoint.pack(float... point) |
private static BytesRef |
IntPoint.pack(int... point) |
private static BytesRef |
LongPoint.pack(long... point) |
Modifier and Type | Method and Description |
---|---|
static Query |
SortedSetDocValuesField.newSlowExactQuery(java.lang.String field,
BytesRef value)
Create a query for matching an exact
BytesRef value. |
static Query |
SortedDocValuesField.newSlowExactQuery(java.lang.String field,
BytesRef value)
Create a query for matching an exact
BytesRef value. |
static Query |
SortedSetDocValuesField.newSlowRangeQuery(java.lang.String field,
BytesRef lowerValue,
BytesRef upperValue,
boolean lowerInclusive,
boolean upperInclusive)
Create a range query that matches all documents whose value is between
lowerValue and upperValue . |
static Query |
SortedDocValuesField.newSlowRangeQuery(java.lang.String field,
BytesRef lowerValue,
BytesRef upperValue,
boolean lowerInclusive,
boolean upperInclusive)
Create a range query that matches all documents whose value is between
lowerValue and upperValue included. |
void |
BigIntegerPoint.setBytesValue(BytesRef bytes) |
void |
HalfFloatPoint.setBytesValue(BytesRef bytes) |
void |
InetAddressPoint.setBytesValue(BytesRef bytes) |
void |
DoublePoint.setBytesValue(BytesRef bytes) |
void |
FloatPoint.setBytesValue(BytesRef bytes) |
void |
Field.setBytesValue(BytesRef value)
Expert: change the value of this field.
|
void |
IntPoint.setBytesValue(BytesRef bytes) |
void |
LongPoint.setBytesValue(BytesRef bytes) |
void |
Field.BinaryTokenStream.setValue(BytesRef value) |
Constructor and Description |
---|
BinaryDocValuesField(java.lang.String name,
BytesRef value)
Create a new binary DocValues field.
|
Field(java.lang.String name,
BytesRef bytes,
IndexableFieldType type)
Create field with binary value.
|
SortedDocValuesField(java.lang.String name,
BytesRef bytes)
Create a new sorted DocValues field.
|
SortedSetDocValuesField(java.lang.String name,
BytesRef bytes)
Create a new sorted DocValues field.
|
SortedSetDocValuesRangeQuery(java.lang.String field,
BytesRef lowerValue,
BytesRef upperValue,
boolean lowerInclusive,
boolean upperInclusive) |
StoredField(java.lang.String name,
BytesRef value)
Create a stored-only field with the given binary value.
|
StoredField(java.lang.String name,
BytesRef bytes,
FieldType type)
Expert: allows you to customize the
FieldType . |
StringField(java.lang.String name,
BytesRef value,
Field.Store stored)
Creates a new binary StringField, indexing the provided binary (BytesRef)
value as a single token.
|
Modifier and Type | Field and Description |
---|---|
protected BytesRef |
FilteredTermsEnum.actualTerm
Which term the enum is currently positioned to.
|
(package private) BytesRef |
FieldUpdatesBuffer.BufferedUpdate.binaryValue
a binary value or null if this buffer holds numeric updates
|
(package private) BytesRef |
SortingStoredFieldsConsumer.CopyVisitor.binaryValue |
(package private) BytesRef |
Term.bytes |
(package private) BytesRef |
PrefixCodedTerms.TermIterator.bytes |
private BytesRef |
AutomatonTermsEnum.commonSuffixRef |
private BytesRef |
MultiTermsEnum.current |
BytesRef |
MultiTermsEnum.TermsEnumWithSlice.current |
(package private) BytesRef |
OrdinalMap.TermsEnumIndex.currentTerm |
private BytesRef |
SortedDocValues.empty |
(package private) BytesRef |
TermVectorsConsumer.flushTerm
Scratch term used by TermVectorsConsumerPerField.finishDocument.
|
private BytesRef |
FilteredTermsEnum.initialSeekTerm |
private BytesRef |
MultiTermsEnum.lastSeek |
private BytesRef |
FrozenBufferedUpdates.TermDocsIterator.lastTerm |
private BytesRef |
AutomatonTermsEnum.linearUpperBound |
private BytesRef |
SortingLeafReader.SortingPostingsEnum.payload |
private BytesRef |
FrozenBufferedUpdates.TermDocsIterator.readerTerm |
(package private) BytesRef |
SortedDocValuesWriter.BufferedSortedDocValues.scratch |
(package private) BytesRef |
SortedSetDocValuesWriter.BufferedSortedSetDocValues.scratch |
(package private) BytesRef |
FreqProxFields.FreqProxTermsEnum.scratch |
private BytesRef |
SingleTermsEnum.singleRef |
(package private) BytesRef |
BufferedUpdatesStream.SegmentState.term |
(package private) BytesRef |
FieldUpdatesBuffer.BufferedUpdate.termValue
The update terms value.
|
private BytesRef |
DocValuesUpdate.BinaryDocValuesUpdate.value |
private BytesRef |
BinaryDocValuesFieldUpdates.Iterator.value |
private BytesRef[] |
SortingLeafReader.CachedBinaryDVs.values |
Modifier and Type | Method and Description |
---|---|
(package private) BytesRef |
NumericDocValuesFieldUpdates.Iterator.binaryValue() |
protected BytesRef |
NumericDocValuesFieldUpdates.SingleValueNumericDocValuesFieldUpdates.binaryValue() |
abstract BytesRef |
BinaryDocValues.binaryValue()
Returns the binary value for the current document ID.
|
BytesRef |
IndexableField.binaryValue()
Non-null if this field has a binary value
|
(package private) abstract BytesRef |
DocValuesFieldUpdates.Iterator.binaryValue()
Returns a binary value for the current document if this iterator is a binary value iterator.
|
protected abstract BytesRef |
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.binaryValue() |
BytesRef |
SortedDocValues.binaryValue() |
BytesRef |
SortingLeafReader.SortingBinaryDocValues.binaryValue() |
BytesRef |
SortingStoredFieldsConsumer.CopyVisitor.binaryValue() |
BytesRef |
FilterBinaryDocValues.binaryValue() |
BytesRef |
BinaryDocValuesWriter.BufferedBinaryDocValues.binaryValue() |
(package private) BytesRef |
BinaryDocValuesFieldUpdates.Iterator.binaryValue() |
BytesRef |
Term.bytes()
Returns the bytes of this term, these should not be modified.
|
BytesRef |
MultiTerms.getMax() |
BytesRef |
Terms.getMax()
Returns the largest term (in lexicographic order) in the field.
|
BytesRef |
MultiTerms.getMin() |
BytesRef |
Terms.getMin()
Returns the smallest term (in lexicographic order) in the field.
|
BytesRef |
SlowImpactsEnum.getPayload() |
BytesRef |
MappingMultiPostingsEnum.getPayload() |
abstract BytesRef |
PostingsEnum.getPayload()
Returns the payload at this position, or null if no
payload was indexed.
|
BytesRef |
MultiPostingsEnum.getPayload() |
BytesRef |
SortingLeafReader.SortingDocsEnum.getPayload() |
BytesRef |
SortingLeafReader.SortingPostingsEnum.getPayload() |
BytesRef |
FreqProxFields.FreqProxDocsEnum.getPayload() |
BytesRef |
FreqProxFields.FreqProxPostingsEnum.getPayload() |
BytesRef |
FilterLeafReader.FilterPostingsEnum.getPayload() |
(package private) BytesRef |
DocValuesUpdate.BinaryDocValuesUpdate.getValue() |
BytesRef |
SortedDocValuesWriter.BufferedSortedDocValues.lookupOrd(int ord) |
abstract BytesRef |
SortedDocValues.lookupOrd(int ord)
Retrieves the value for the specified ordinal.
|
BytesRef |
SortingLeafReader.SortingSortedDocValues.lookupOrd(int ord) |
BytesRef |
MultiDocValues.MultiSortedDocValues.lookupOrd(int ord) |
BytesRef |
SingletonSortedSetDocValues.lookupOrd(long ord) |
BytesRef |
SortedSetDocValuesWriter.BufferedSortedSetDocValues.lookupOrd(long ord) |
BytesRef |
SortingLeafReader.SortingSortedSetDocValues.lookupOrd(long ord) |
abstract BytesRef |
SortedSetDocValues.lookupOrd(long ord)
Retrieves the value for the specified ordinal.
|
BytesRef |
MultiDocValues.MultiSortedSetDocValues.lookupOrd(long ord) |
BytesRef |
SortedSetDocValuesTermsEnum.next() |
BytesRef |
PrefixCodedTerms.TermIterator.next() |
BytesRef |
ExitableDirectoryReader.ExitableTermsEnum.next() |
BytesRef |
OrdinalMap.TermsEnumIndex.next() |
BytesRef |
FilteredTermsEnum.next() |
BytesRef |
SortedDocValuesTermsEnum.next() |
BytesRef |
FreqProxFields.FreqProxTermsEnum.next() |
BytesRef |
MultiTermsEnum.next() |
BytesRef |
FilterLeafReader.FilterTermsEnum.next() |
protected BytesRef |
AutomatonTermsEnum.nextSeekTerm(BytesRef term) |
protected BytesRef |
FilteredTermsEnum.nextSeekTerm(BytesRef currentTerm)
On the first call to
FilteredTermsEnum.next() or if FilteredTermsEnum.accept(org.apache.lucene.util.BytesRef) returns
FilteredTermsEnum.AcceptStatus.YES_AND_SEEK or FilteredTermsEnum.AcceptStatus.NO_AND_SEEK ,
this method will be called to eventually seek the underlying TermsEnum
to a new position. |
(package private) static BytesRef |
DocValuesUpdate.BinaryDocValuesUpdate.readFrom(DataInput in,
BytesRef scratch) |
BytesRef |
SortedSetDocValuesTermsEnum.term() |
BytesRef |
FilteredTermsEnum.term() |
BytesRef |
SortedDocValuesTermsEnum.term() |
BytesRef |
FreqProxFields.FreqProxTermsEnum.term() |
BytesRef |
MultiTermsEnum.term() |
abstract BytesRef |
TermsEnum.term()
Returns current term.
|
BytesRef |
FilterLeafReader.FilterTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
protected FilteredTermsEnum.AcceptStatus |
AutomatonTermsEnum.accept(BytesRef term)
Returns true if the term matches the automaton.
|
protected FilteredTermsEnum.AcceptStatus |
SingleTermsEnum.accept(BytesRef term) |
protected abstract FilteredTermsEnum.AcceptStatus |
FilteredTermsEnum.accept(BytesRef term)
Return if term is accepted, not accepted or the iteration should ended
(and possibly seek).
|
(package private) void |
NumericDocValuesFieldUpdates.add(int doc,
BytesRef value) |
(package private) abstract void |
DocValuesFieldUpdates.add(int doc,
BytesRef value) |
(package private) void |
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.add(int doc,
BytesRef value) |
void |
BinaryDocValuesFieldUpdates.add(int doc,
BytesRef value) |
void |
PrefixCodedTerms.Builder.add(java.lang.String field,
BytesRef bytes)
add a term.
|
private void |
SortedDocValuesWriter.addOneValue(BytesRef value) |
private void |
SortedSetDocValuesWriter.addOneValue(BytesRef value) |
void |
PointValuesWriter.addPackedValue(int docID,
BytesRef value) |
(package private) void |
FieldUpdatesBuffer.addUpdate(Term term,
BytesRef value,
int docUpTo) |
void |
SortedDocValuesWriter.addValue(int docID,
BytesRef value) |
void |
SortedSetDocValuesWriter.addValue(int docID,
BytesRef value) |
void |
BinaryDocValuesWriter.addValue(int docID,
BytesRef value) |
private boolean |
FrozenBufferedUpdates.TermDocsIterator.assertSorted(BytesRef term) |
private static boolean |
CheckIndex.checkSingleTermRange(java.lang.String field,
int maxDoc,
Terms terms,
BytesRef minTerm,
BytesRef maxTerm,
FixedBitSet normalDocs,
FixedBitSet intersectDocs)
Test Terms.intersect on this range, and validates that it returns the same doc ids as using non-intersect TermsEnum.
|
private static long |
CheckIndex.getDocsFromTermRange(java.lang.String field,
int maxDoc,
TermsEnum termsEnum,
FixedBitSet docsSeen,
BytesRef minTerm,
BytesRef maxTerm,
boolean isIntersect)
Visits all terms in the range minTerm (inclusive) to maxTerm (exclusive), marking all doc IDs encountered into allDocsSeen, and
returning the total number of terms visited.
|
static PostingsEnum |
MultiTerms.getTermPostingsEnum(IndexReader r,
java.lang.String field,
BytesRef term)
Returns
PostingsEnum for the specified
field and term. |
static PostingsEnum |
MultiTerms.getTermPostingsEnum(IndexReader r,
java.lang.String field,
BytesRef term,
int flags)
Returns
PostingsEnum for the specified
field and term, with control over whether freqs, positions, offsets or payloads
are required. |
void |
PointValuesWriter.MutableSortingPointValues.getValue(int i,
BytesRef packedValue) |
TermsEnum |
MultiTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
Terms.intersect(CompiledAutomaton compiled,
BytesRef startTerm)
Returns a TermsEnum that iterates over all terms and
documents that are accepted by the provided
CompiledAutomaton . |
TermsEnum |
SortingLeafReader.SortingTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
ExitableDirectoryReader.ExitableTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
long |
SingletonSortedSetDocValues.lookupTerm(BytesRef key) |
int |
SortedDocValues.lookupTerm(BytesRef key)
If
key exists, returns its ordinal, else
returns -insertionPoint-1 , like Arrays.binarySearch . |
long |
SortedSetDocValues.lookupTerm(BytesRef key)
If
key exists, returns its ordinal, else
returns -insertionPoint-1 , like Arrays.binarySearch . |
protected BytesRef |
AutomatonTermsEnum.nextSeekTerm(BytesRef term) |
protected BytesRef |
FilteredTermsEnum.nextSeekTerm(BytesRef currentTerm)
On the first call to
FilteredTermsEnum.next() or if FilteredTermsEnum.accept(org.apache.lucene.util.BytesRef) returns
FilteredTermsEnum.AcceptStatus.YES_AND_SEEK or FilteredTermsEnum.AcceptStatus.NO_AND_SEEK ,
this method will be called to eventually seek the underlying TermsEnum
to a new position. |
(package private) DocIdSetIterator |
FrozenBufferedUpdates.TermDocsIterator.nextTerm(java.lang.String field,
BytesRef term) |
(package private) static BytesRef |
DocValuesUpdate.BinaryDocValuesUpdate.readFrom(DataInput in,
BytesRef scratch) |
void |
MultiTermsEnum.TermsEnumWithSlice.reset(TermsEnum terms,
BytesRef term) |
TermsEnum.SeekStatus |
SortedSetDocValuesTermsEnum.seekCeil(BytesRef text) |
TermsEnum.SeekStatus |
FilteredTermsEnum.seekCeil(BytesRef term)
This enum does not support seeking!
|
TermsEnum.SeekStatus |
SortedDocValuesTermsEnum.seekCeil(BytesRef text) |
TermsEnum.SeekStatus |
FreqProxFields.FreqProxTermsEnum.seekCeil(BytesRef text) |
TermsEnum.SeekStatus |
MultiTermsEnum.seekCeil(BytesRef term) |
abstract TermsEnum.SeekStatus |
TermsEnum.seekCeil(BytesRef text)
Seeks to the specified term, if it exists, or to the
next (ceiling) term.
|
TermsEnum.SeekStatus |
FilterLeafReader.FilterTermsEnum.seekCeil(BytesRef text) |
boolean |
SortedSetDocValuesTermsEnum.seekExact(BytesRef text) |
boolean |
BaseTermsEnum.seekExact(BytesRef text) |
boolean |
FilteredTermsEnum.seekExact(BytesRef term)
This enum does not support seeking!
|
boolean |
SortedDocValuesTermsEnum.seekExact(BytesRef text) |
boolean |
MultiTermsEnum.seekExact(BytesRef term) |
abstract boolean |
TermsEnum.seekExact(BytesRef text)
Attempts to seek to the exact term, returning true if the term is found.
|
boolean |
FilterLeafReader.FilterTermsEnum.seekExact(BytesRef text) |
void |
SortedSetDocValuesTermsEnum.seekExact(BytesRef term,
TermState state) |
void |
BaseTermsEnum.seekExact(BytesRef term,
TermState state) |
void |
FilteredTermsEnum.seekExact(BytesRef term,
TermState state)
This enum does not support seeking!
|
void |
SortedDocValuesTermsEnum.seekExact(BytesRef term,
TermState state) |
abstract void |
TermsEnum.seekExact(BytesRef term,
TermState state)
Expert: Seeks a specific position by
TermState previously obtained
from TermsEnum.termState() . |
void |
FilterLeafReader.FilterTermsEnum.seekExact(BytesRef term,
TermState state) |
(package private) void |
Term.set(java.lang.String fld,
BytesRef bytes)
Resets the field and text of a Term.
|
protected void |
FilteredTermsEnum.setInitialSeekTerm(BytesRef term)
Use this method to set the initial
BytesRef
to seek before iterating. |
static java.lang.String |
Term.toString(BytesRef termText)
Returns human-readable form of the term text.
|
long |
IndexWriter.updateBinaryDocValue(Term term,
java.lang.String field,
BytesRef value)
|
Constructor and Description |
---|
BinaryDocValuesUpdate(Term term,
java.lang.String field,
BytesRef value) |
BinaryDocValuesUpdate(Term term,
java.lang.String field,
BytesRef value,
int docIDUpTo) |
CachedBinaryDVs(BytesRef[] values,
BitSet docsWithField) |
Iterator(int size,
PagedGrowableWriter offsets,
PagedGrowableWriter lengths,
PagedMutable docs,
BytesRef values,
long delGen) |
SingleTermsEnum(TermsEnum tenum,
BytesRef termText)
Creates a new
SingleTermsEnum . |
Term(java.lang.String fld,
BytesRef bytes)
Constructs a Term with the given field and bytes.
|
Modifier and Type | Field and Description |
---|---|
private BytesRef |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.br |
private BytesRef[] |
MemoryIndex.Info.pointValues |
Modifier and Type | Method and Description |
---|---|
BytesRef |
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum.getPayload() |
BytesRef |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.next() |
BytesRef |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.term() |
Modifier and Type | Method and Description |
---|---|
private int |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.binarySearch(BytesRef b,
BytesRef bytesRef,
int low,
int high,
BytesRefHash hash,
int[] ords) |
TermsEnum.SeekStatus |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.seekCeil(BytesRef text) |
boolean |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.seekExact(BytesRef text) |
void |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.seekExact(BytesRef term,
TermState state) |
private static SortedDocValues |
MemoryIndex.sortedDocValues(BytesRef value) |
private void |
MemoryIndex.storePointValues(MemoryIndex.Info info,
BytesRef pointValue) |
Modifier and Type | Field and Description |
---|---|
BytesRef |
TermStats.termtext |
Constructor and Description |
---|
TermStats(java.lang.String field,
BytesRef termtext,
int df,
long tf) |
Modifier and Type | Field and Description |
---|---|
protected BytesRef |
LiteralValueSource.bytesRef |
protected BytesRef |
DocFreqValueSource.indexedBytes |
protected BytesRef |
TotalTermFreqValueSource.indexedBytes |
Constructor and Description |
---|
DocFreqValueSource(java.lang.String field,
java.lang.String val,
java.lang.String indexedField,
BytesRef indexedBytes) |
IDFValueSource(java.lang.String field,
java.lang.String val,
java.lang.String indexedField,
BytesRef indexedBytes) |
TermFreqValueSource(java.lang.String field,
java.lang.String val,
java.lang.String indexedField,
BytesRef indexedBytes) |
TFValueSource(java.lang.String field,
java.lang.String val,
java.lang.String indexedField,
BytesRef indexedBytes) |
TotalTermFreqValueSource(java.lang.String field,
java.lang.String val,
java.lang.String indexedField,
BytesRef indexedBytes) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<BytesRef> |
SpanPayloadCheckQuery.payloadToMatch |
Modifier and Type | Method and Description |
---|---|
float |
PayloadDecoder.computePayloadFactor(BytesRef payload)
Compute a float value for the given payload
|
Constructor and Description |
---|
SpanPayloadCheckQuery(SpanQuery match,
java.util.List<BytesRef> payloadToMatch) |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
QueryParserBase.analyzeWildcard(java.lang.String field,
java.lang.String termStr) |
Modifier and Type | Method and Description |
---|---|
BytesRef |
RegexpQueryNode.textToBytesRef() |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
SrndTruncQuery.prefixRef |
private BytesRef |
SrndPrefixQuery.prefixRef |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
FieldComparator.TermValComparator.bottom |
private BytesRef |
FuzzyTermsEnum.bottomTerm |
(package private) BytesRef |
FieldComparator.TermOrdValComparator.bottomValue |
private BytesRef |
MaxNonCompetitiveBoostAttributeImpl.competitiveTerm |
private BytesRef |
TermRangeQuery.lowerTerm |
private BytesRef |
PointInSetQuery.MergePointVisitor.nextQueryPoint |
private BytesRef |
FuzzyTermsEnum.queuedBottom |
private BytesRef |
PointInSetQuery.MergePointVisitor.scratch |
(package private) BytesRef |
TermInSetQuery.TermAndState.term |
(package private) BytesRef |
MultiTermQueryConstantScoreWrapper.TermAndState.term |
private BytesRef |
TermStatistics.term |
private BytesRef[] |
BM25FQuery.terms |
(package private) BytesRef |
FieldComparator.TermOrdValComparator.topValue
Set by setTopValue.
|
private BytesRef |
FieldComparator.TermValComparator.topValue |
private BytesRef |
TermRangeQuery.upperTerm |
(package private) BytesRef[] |
FieldComparator.TermOrdValComparator.values |
private BytesRef[] |
FieldComparator.TermValComparator.values |
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<BytesRef> |
SortField.bytesComparator |
private java.util.Map<java.lang.Integer,BytesRef> |
TermAutomatonScorer.idToTerm |
private java.util.Map<java.lang.Integer,BytesRef> |
TermAutomatonQuery.idToTerm |
private java.util.Set<BytesRef> |
BM25FQuery.Builder.termsSet |
private java.util.Map<BytesRef,java.lang.Integer> |
TermAutomatonQuery.termToID |
Modifier and Type | Method and Description |
---|---|
private static BytesRef |
DocValuesStats.copyFrom(BytesRef src,
BytesRef dest) |
BytesRef |
MaxNonCompetitiveBoostAttributeImpl.getCompetitiveTerm() |
BytesRef |
MaxNonCompetitiveBoostAttribute.getCompetitiveTerm()
This is the term or
null of the term that triggered the boost change. |
BytesRef |
TermRangeQuery.getLowerTerm()
Returns the lower value of this range query
|
BytesRef |
MultiPhraseQuery.UnionPostingsEnum.getPayload() |
BytesRef |
MultiPhraseQuery.UnionFullPostingsEnum.getPayload() |
BytesRef |
TermRangeQuery.getUpperTerm()
Returns the upper value of this range query
|
private BytesRef |
FieldComparator.TermValComparator.getValueForDoc(int doc) |
BytesRef |
SortedSetSelector.MinValue.lookupOrd(int ord) |
BytesRef |
SortedSetSelector.MaxValue.lookupOrd(int ord) |
BytesRef |
SortedSetSelector.MiddleMinValue.lookupOrd(int ord) |
BytesRef |
SortedSetSelector.MiddleMaxValue.lookupOrd(int ord) |
abstract BytesRef |
PointInSetQuery.Stream.next() |
BytesRef |
FuzzyTermsEnum.next() |
BytesRef |
TermStatistics.term()
The term text.
|
BytesRef |
FuzzyTermsEnum.term() |
BytesRef |
FieldComparator.TermOrdValComparator.value(int slot) |
BytesRef |
FieldComparator.TermValComparator.value(int slot) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<BytesRef> |
SortField.getBytesComparator() |
Modifier and Type | Method and Description |
---|---|
BM25FQuery.Builder |
BM25FQuery.Builder.addTerm(BytesRef term)
Adds a term to this builder.
|
void |
TermAutomatonQuery.addTransition(int source,
int dest,
BytesRef term)
Adds a transition to the automaton.
|
private void |
FuzzyTermsEnum.bottomChanged(BytesRef lastTerm)
fired when the max non-competitive boost has changed.
|
abstract boolean |
TermCollectingRewrite.TermCollector.collect(BytesRef bytes)
return false to stop collecting
|
boolean |
ScoringRewrite.ParallelArraysTermCollector.collect(BytesRef bytes) |
int |
FieldComparator.TermOrdValComparator.compareValues(BytesRef val1,
BytesRef val2) |
int |
FieldComparator.TermValComparator.compareValues(BytesRef val1,
BytesRef val2) |
private static BytesRef |
DocValuesStats.copyFrom(BytesRef src,
BytesRef dest) |
private TermsEnum |
FuzzyTermsEnum.getAutomatonEnum(int editDistance,
BytesRef lastTerm)
return an automata-based enum for matching up to editDistance from
lastTerm, if possible
|
private int |
TermAutomatonQuery.getTermID(BytesRef term) |
int |
SortedSetSelector.MinValue.lookupTerm(BytesRef key) |
int |
SortedSetSelector.MaxValue.lookupTerm(BytesRef key) |
int |
SortedSetSelector.MiddleMinValue.lookupTerm(BytesRef key) |
int |
SortedSetSelector.MiddleMaxValue.lookupTerm(BytesRef key) |
private boolean |
FuzzyTermsEnum.matches(BytesRef termIn,
int k)
returns true if term is within k edits of the query term
|
TermsEnum.SeekStatus |
FuzzyTermsEnum.seekCeil(BytesRef text) |
boolean |
FuzzyTermsEnum.seekExact(BytesRef text) |
void |
FuzzyTermsEnum.seekExact(BytesRef term,
TermState state) |
void |
MaxNonCompetitiveBoostAttributeImpl.setCompetitiveTerm(BytesRef competitiveTerm) |
void |
MaxNonCompetitiveBoostAttribute.setCompetitiveTerm(BytesRef competitiveTerm)
This is the term or
null of the term that triggered the boost change. |
void |
PointInSetQuery.SinglePointVisitor.setPoint(BytesRef point) |
void |
FieldComparator.TermOrdValComparator.setTopValue(BytesRef value) |
void |
FieldComparator.TermValComparator.setTopValue(BytesRef value) |
static Automaton |
PrefixQuery.toAutomaton(BytesRef prefix)
Build an automaton accepting all terms with the specified prefix.
|
static Automaton |
TermRangeQuery.toAutomaton(BytesRef lowerTerm,
BytesRef upperTerm,
boolean includeLower,
boolean includeUpper) |
private static Term[] |
PhraseQuery.toTerms(java.lang.String field,
BytesRef... termBytes) |
Modifier and Type | Method and Description |
---|---|
void |
SortField.setBytesComparator(java.util.Comparator<BytesRef> b) |
Constructor and Description |
---|
BM25FQuery(BM25Similarity similarity,
java.util.TreeMap<java.lang.String,BM25FQuery.FieldAndWeight> fieldAndWeights,
BytesRef[] terms) |
DocValuesTermsQuery(java.lang.String field,
BytesRef... terms) |
PhraseQuery(int slop,
java.lang.String field,
BytesRef... terms)
Create a phrase query which will match documents that contain the given
list of terms at consecutive positions in
field , and at a
maximum edit distance of slop . |
PhraseQuery(java.lang.String field,
BytesRef... terms)
Create a phrase query which will match documents that contain the given
list of terms at consecutive positions in
field . |
TermAndState(BytesRef term,
TermState state,
int docFreq,
long totalTermFreq) |
TermInSetQuery(java.lang.String field,
BytesRef... terms)
Creates a new
TermInSetQuery from the given array of terms. |
TermRangeQuery(java.lang.String field,
BytesRef lowerTerm,
BytesRef upperTerm,
boolean includeLower,
boolean includeUpper)
Constructs a query selecting all terms greater/equal than
lowerTerm
but less/equal than upperTerm . |
TermStatistics(BytesRef term,
long docFreq,
long totalTermFreq)
Creates statistics instance for a term.
|
Constructor and Description |
---|
DocValuesTermsQuery(java.lang.String field,
java.util.Collection<BytesRef> terms) |
TermAutomatonScorer(TermAutomatonQuery.TermAutomatonWeight weight,
TermAutomatonQuery.EnumAndScorer[] subs,
int anyTermID,
java.util.Map<java.lang.Integer,BytesRef> idToTerm,
LeafSimScorer docScorer) |
TermInSetQuery(java.lang.String field,
java.util.Collection<BytesRef> terms)
Creates a new
TermInSetQuery from the given collection of terms. |
Modifier and Type | Field and Description |
---|---|
protected BytesRef |
GroupFacetCollector.facetPrefix |
(package private) BytesRef |
TermGroupFacetCollector.GroupedFacetHit.facetValue |
(package private) BytesRef |
TermGroupFacetCollector.GroupedFacetHit.groupValue |
protected BytesRef |
GroupFacetCollector.SegmentResult.mergeTerm |
private BytesRef |
TermGroupSelector.scratch |
private BytesRef |
GroupFacetCollector.FacetEntry.value |
Modifier and Type | Method and Description |
---|---|
BytesRef |
TermGroupSelector.copyValue() |
BytesRef |
TermGroupSelector.currentValue() |
BytesRef |
GroupFacetCollector.FacetEntry.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
GroupFacetCollector.GroupedFacetResult.addFacetCount(BytesRef facetValue,
int count) |
static TermGroupFacetCollector |
TermGroupFacetCollector.createTermGroupFacetCollector(java.lang.String groupField,
java.lang.String facetField,
boolean facetFieldMultivalued,
BytesRef facetPrefix,
int initialSize)
Factory method for creating the right implementation based on the fact whether the facet field contains
multiple tokens per documents.
|
Modifier and Type | Method and Description |
---|---|
void |
TermGroupSelector.setGroups(java.util.Collection<SearchGroup<BytesRef>> searchGroups) |
Constructor and Description |
---|
FacetEntry(BytesRef value,
int count) |
GroupedFacetHit(BytesRef groupValue,
BytesRef facetValue) |
GroupFacetCollector(java.lang.String groupField,
java.lang.String facetField,
BytesRef facetPrefix) |
MV(java.lang.String groupField,
java.lang.String facetField,
BytesRef facetPrefix,
int initialSize) |
SV(java.lang.String groupField,
java.lang.String facetField,
BytesRef facetPrefix,
int initialSize) |
TermGroupFacetCollector(java.lang.String groupField,
java.lang.String facetField,
BytesRef facetPrefix,
int initialSize) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
PayloadFilteredTermIntervalsSource.term |
(package private) BytesRef |
TermIntervalsSource.term |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.function.Predicate<BytesRef> |
PayloadFilteredTermIntervalsSource.filter |
Modifier and Type | Method and Description |
---|---|
(package private) static IntervalIterator |
TermIntervalsSource.intervals(BytesRef term,
TermsEnum te) |
static IntervalsSource |
Intervals.term(BytesRef term)
Return an
IntervalsSource exposing intervals for a term |
static IntervalsSource |
Intervals.term(BytesRef term,
java.util.function.Predicate<BytesRef> payloadFilter)
Return an
IntervalsSource exposing intervals for a term, filtered by the value
of the term's payload at each position |
Modifier and Type | Method and Description |
---|---|
static IntervalsSource |
Intervals.term(BytesRef term,
java.util.function.Predicate<BytesRef> payloadFilter)
Return an
IntervalsSource exposing intervals for a term, filtered by the value
of the term's payload at each position |
static IntervalsSource |
Intervals.term(java.lang.String term,
java.util.function.Predicate<BytesRef> payloadFilter)
Return an
IntervalsSource exposing intervals for a term, filtered by the value
of the term's payload at each position |
Constructor and Description |
---|
PayloadFilteredTermIntervalsSource(BytesRef term,
java.util.function.Predicate<BytesRef> filter) |
TermIntervalsSource(BytesRef term) |
Constructor and Description |
---|
PayloadFilteredTermIntervalsSource(BytesRef term,
java.util.function.Predicate<BytesRef> filter) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
SeekingTermSetTermsEnum.lastTerm |
private BytesRef |
PointInSetIncludingScoreQuery.MergePointVisitor.nextQueryPoint |
private BytesRef |
PointInSetIncludingScoreQuery.MergePointVisitor.scratch |
private BytesRef |
SeekingTermSetTermsEnum.seekTerm |
private BytesRef |
SeekingTermSetTermsEnum.spare |
Modifier and Type | Method and Description |
---|---|
BytesRef |
ToParentDocValues.SortedDVs.lookupOrd(int ord) |
protected BytesRef |
SeekingTermSetTermsEnum.nextSeekTerm(BytesRef currentTerm) |
Modifier and Type | Method and Description |
---|---|
protected FilteredTermsEnum.AcceptStatus |
SeekingTermSetTermsEnum.accept(BytesRef term) |
protected BytesRef |
SeekingTermSetTermsEnum.nextSeekTerm(BytesRef currentTerm) |
Modifier and Type | Method and Description |
---|---|
protected float |
BM25Similarity.scorePayload(int doc,
int start,
int end,
BytesRef payload)
The default implementation returns
1 |
Modifier and Type | Field and Description |
---|---|
BytesRef |
DirectSpellChecker.ScoreTerm.term
The actual spellcheck correction.
|
Modifier and Type | Method and Description |
---|---|
BytesRef |
HighFrequencyDictionary.HighFrequencyIterator.next() |
BytesRef |
PlainTextDictionary.FileIterator.next() |
BytesRef |
HighFrequencyDictionary.HighFrequencyIterator.payload() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<BytesRef> |
HighFrequencyDictionary.HighFrequencyIterator.contexts() |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
DocumentDictionary.DocumentInputIterator.currentPayload |
BytesRef |
Lookup.LookupResult.payload
the key's payload (null if not present)
|
private BytesRef |
SortedInputIterator.payload |
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<BytesRef> |
SortedInputIterator.comparator |
private java.util.Comparator<BytesRef> |
InMemorySorter.comparator |
java.util.Set<BytesRef> |
Lookup.LookupResult.contexts
the key's contexts (null if not present)
|
private java.util.Set<BytesRef> |
SortedInputIterator.contexts |
protected java.util.List<java.util.Set<BytesRef>> |
BufferedInputIterator.contextSets
buffered context set entries
|
private java.util.Set<BytesRef> |
DocumentDictionary.DocumentInputIterator.currentContexts |
private java.util.Comparator<BytesRef> |
SortedInputIterator.tieBreakByCostComparator
Sortes by BytesRef (ascending) then cost (ascending).
|
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
SortedInputIterator.decodePayload(BytesRef scratch,
ByteArrayDataInput tmpInput)
decodes the payload at the current position
|
BytesRef |
FileDictionary.FileIterator.next() |
BytesRef |
DocumentDictionary.DocumentInputIterator.next() |
BytesRef |
SortedInputIterator.next() |
BytesRef |
BufferedInputIterator.next() |
BytesRef |
InputIterator.InputIteratorWrapper.next() |
BytesRef |
UnsortedInputIterator.next() |
BytesRef |
FileDictionary.FileIterator.payload() |
BytesRef |
DocumentDictionary.DocumentInputIterator.payload() |
BytesRef |
SortedInputIterator.payload() |
BytesRef |
BufferedInputIterator.payload() |
BytesRef |
InputIterator.payload()
An arbitrary byte[] to record per suggestion.
|
BytesRef |
InputIterator.InputIteratorWrapper.payload() |
BytesRef |
UnsortedInputIterator.payload() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<BytesRef> |
FileDictionary.FileIterator.contexts() |
java.util.Set<BytesRef> |
DocumentDictionary.DocumentInputIterator.contexts() |
java.util.Set<BytesRef> |
SortedInputIterator.contexts() |
java.util.Set<BytesRef> |
BufferedInputIterator.contexts() |
java.util.Set<BytesRef> |
InputIterator.contexts()
A term's contexts context can be used to filter suggestions.
|
java.util.Set<BytesRef> |
InputIterator.InputIteratorWrapper.contexts() |
java.util.Set<BytesRef> |
UnsortedInputIterator.contexts() |
protected java.util.Set<BytesRef> |
SortedInputIterator.decodeContexts(BytesRef scratch,
ByteArrayDataInput tmpInput)
decodes the contexts at the current position
|
java.util.Comparator<BytesRef> |
InMemorySorter.getComparator() |
Modifier and Type | Method and Description |
---|---|
void |
InMemorySorter.add(BytesRef utf8) |
protected long |
SortedInputIterator.decode(BytesRef scratch,
ByteArrayDataInput tmpInput)
decodes the weight at the current position
|
protected java.util.Set<BytesRef> |
SortedInputIterator.decodeContexts(BytesRef scratch,
ByteArrayDataInput tmpInput)
decodes the contexts at the current position
|
protected BytesRef |
SortedInputIterator.decodePayload(BytesRef scratch,
ByteArrayDataInput tmpInput)
decodes the payload at the current position
|
protected void |
SortedInputIterator.encode(OfflineSorter.ByteSequencesWriter writer,
ByteArrayDataOutput output,
byte[] buffer,
BytesRef spare,
BytesRef payload,
java.util.Set<BytesRef> contexts,
long weight)
encodes an entry (bytes+(contexts)+(payload)+weight) to the provided writer
|
Modifier and Type | Method and Description |
---|---|
protected void |
SortedInputIterator.encode(OfflineSorter.ByteSequencesWriter writer,
ByteArrayDataOutput output,
byte[] buffer,
BytesRef spare,
BytesRef payload,
java.util.Set<BytesRef> contexts,
long weight)
encodes an entry (bytes+(contexts)+(payload)+weight) to the provided writer
|
abstract java.util.List<Lookup.LookupResult> |
Lookup.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num)
Look up a key and return possible completion for this key.
|
Constructor and Description |
---|
LookupResult(java.lang.CharSequence key,
long value,
BytesRef payload)
Create a new result from a key+weight+payload triple.
|
LookupResult(java.lang.CharSequence key,
long value,
BytesRef payload,
java.util.Set<BytesRef> contexts)
Create a new result from a key+weight+payload+contexts triple.
|
LookupResult(java.lang.CharSequence key,
java.lang.Object highlightKey,
long value,
BytesRef payload)
Create a new result from a key+highlightKey+weight+payload triple.
|
LookupResult(java.lang.CharSequence key,
java.lang.Object highlightKey,
long value,
BytesRef payload,
java.util.Set<BytesRef> contexts)
Create a new result from a key+highlightKey+weight+payload+contexts triple.
|
Constructor and Description |
---|
InMemorySorter(java.util.Comparator<BytesRef> comparator)
Creates an InMemorySorter, sorting entries by the
provided comparator.
|
LookupResult(java.lang.CharSequence key,
long value,
BytesRef payload,
java.util.Set<BytesRef> contexts)
Create a new result from a key+weight+payload+contexts triple.
|
LookupResult(java.lang.CharSequence key,
long value,
java.util.Set<BytesRef> contexts)
Create a new result from a key+weight+contexts triple.
|
LookupResult(java.lang.CharSequence key,
java.lang.Object highlightKey,
long value,
BytesRef payload,
java.util.Set<BytesRef> contexts)
Create a new result from a key+highlightKey+weight+payload+contexts triple.
|
SortedInputIterator(Directory tempDir,
java.lang.String tempFileNamePrefix,
InputIterator source,
java.util.Comparator<BytesRef> comparator)
Creates a new sorted wrapper, sorting by BytesRef
(ascending) then cost (ascending).
|
Modifier and Type | Field and Description |
---|---|
private BytesRef |
AnalyzingSuggester.AnalyzingComparator.scratchA |
private BytesRef |
AnalyzingSuggester.AnalyzingComparator.scratchB |
Modifier and Type | Field and Description |
---|---|
private FST<PairOutputs.Pair<java.lang.Long,BytesRef>> |
AnalyzingSuggester.fst
FST<Weight,Surface>:
input is the analyzed form, with a null byte between terms
weights are encoded as costs: (Integer.MAX_VALUE-weight)
surface is the original, unanalyzed form.
|
(package private) static java.util.Comparator<PairOutputs.Pair<java.lang.Long,BytesRef>> |
AnalyzingSuggester.weightComparator |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
FuzzySuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst) |
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
AnalyzingSuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst)
Returns all prefix paths to initialize the search.
|
Modifier and Type | Method and Description |
---|---|
void |
AnalyzingInfixSuggester.add(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload)
Adds a new suggestion.
|
void |
AnalyzingInfixSuggester.addContextToQuery(BooleanQuery.Builder query,
BytesRef context,
BooleanClause.Occur clause)
This method is handy as we do not need access to internal fields such as CONTEXTS_FIELD_NAME in order to build queries
However, here may not be its best location.
|
private Document |
AnalyzingInfixSuggester.buildDocument(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload) |
int |
AnalyzingSuggester.AnalyzingComparator.compare(BytesRef a,
BytesRef b) |
private int |
FreeTextSuggester.countGrams(BytesRef token) |
private Lookup.LookupResult |
AnalyzingSuggester.getLookupResult(java.lang.Long output1,
BytesRef output2,
CharsRefBuilder spare) |
private java.lang.Long |
FreeTextSuggester.lookupPrefix(FST<java.lang.Long> fst,
FST.BytesReader bytesReader,
BytesRef scratch,
FST.Arc<java.lang.Long> arc) |
private boolean |
AnalyzingSuggester.sameSurfaceForm(BytesRef key,
BytesRef output2) |
(package private) Automaton |
AnalyzingSuggester.toAutomaton(BytesRef surfaceForm,
TokenStreamToAutomaton ts2a) |
void |
AnalyzingInfixSuggester.update(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload)
Updates a previous suggestion, matching the exact same
text as before.
|
Modifier and Type | Method and Description |
---|---|
void |
AnalyzingInfixSuggester.add(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload)
Adds a new suggestion.
|
private Document |
AnalyzingInfixSuggester.buildDocument(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload) |
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
FuzzySuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst) |
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
FuzzySuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst) |
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
AnalyzingSuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst)
Returns all prefix paths to initialize the search.
|
protected java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> |
AnalyzingSuggester.getFullPrefixPaths(java.util.List<FSTUtil.Path<PairOutputs.Pair<java.lang.Long,BytesRef>>> prefixPaths,
Automaton lookupAutomaton,
FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst)
Returns all prefix paths to initialize the search.
|
java.util.List<Lookup.LookupResult> |
AnalyzingInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Map<BytesRef,BooleanClause.Occur> contextInfo,
int num,
boolean allTermsRequired,
boolean doHighlight)
Retrieve suggestions, specifying whether all terms
must match (
allTermsRequired ) and whether the hits
should be highlighted (doHighlight ). |
java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Map<BytesRef,BooleanClause.Occur> contextInfo,
int num,
boolean allTermsRequired,
boolean doHighlight) |
java.util.List<Lookup.LookupResult> |
AnalyzingInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
java.util.List<Lookup.LookupResult> |
FreeTextSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
java.util.List<Lookup.LookupResult> |
AnalyzingSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
java.util.List<Lookup.LookupResult> |
FreeTextSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
int num)
Retrieve suggestions.
|
java.util.List<Lookup.LookupResult> |
AnalyzingInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
int num,
boolean allTermsRequired,
boolean doHighlight)
Lookup, with context but without booleans.
|
java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
int num,
boolean allTermsRequired,
boolean doHighlight) |
private BooleanQuery |
AnalyzingInfixSuggester.toQuery(java.util.Map<BytesRef,BooleanClause.Occur> contextInfo) |
private BooleanQuery |
AnalyzingInfixSuggester.toQuery(java.util.Set<BytesRef> contextInfo) |
void |
AnalyzingInfixSuggester.update(BytesRef text,
java.util.Set<BytesRef> contexts,
long weight,
BytesRef payload)
Updates a previous suggestion, matching the exact same
text as before.
|
Modifier and Type | Field and Description |
---|---|
private BytesRef |
CompletionTokenStream.payload |
(package private) BytesRef |
NRTSuggesterBuilder.Entry.payload |
private BytesRef |
SuggestField.surfaceForm |
Modifier and Type | Field and Description |
---|---|
private Builder<PairOutputs.Pair<java.lang.Long,BytesRef>> |
NRTSuggesterBuilder.builder |
private FST<PairOutputs.Pair<java.lang.Long,BytesRef>> |
NRTSuggester.fst
FST
NRTSuggesterBuilder.END_BYTE to denote the
end of the input
weight is a long
surface is the original, unanalyzed form followed by the docID |
private PairOutputs<java.lang.Long,BytesRef> |
NRTSuggesterBuilder.outputs |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
SuggestField.buildSuggestPayload() |
(package private) static BytesRef |
NRTSuggester.PayLoadProcessor.make(BytesRef surface,
int docID,
int payloadSep) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Comparator<PairOutputs.Pair<java.lang.Long,BytesRef>> |
NRTSuggester.getComparator() |
Modifier and Type | Method and Description |
---|---|
void |
NRTSuggesterBuilder.addEntry(int docID,
BytesRef surfaceForm,
long weight)
Adds an entry for the latest input term, should be called after
NRTSuggesterBuilder.startTerm(org.apache.lucene.util.BytesRef) on the desired input |
(package private) static BytesRef |
NRTSuggester.PayLoadProcessor.make(BytesRef surface,
int docID,
int payloadSep) |
(package private) static int |
NRTSuggester.PayLoadProcessor.parseSurfaceForm(BytesRef output,
int payloadSep,
CharsRefBuilder spare) |
void |
CompletionTokenStream.setPayload(BytesRef payload)
Sets a payload available throughout successive token stream enumeration
|
void |
NRTSuggesterBuilder.startTerm(BytesRef analyzed)
Initializes an FST input term to add entries against
|
void |
CompletionFieldsConsumer.CompletionTermWriter.write(BytesRef term,
TermsEnum termsEnum)
Writes all postings (surface form, weight, document id) for
term |
Modifier and Type | Method and Description |
---|---|
int |
NRTSuggester.ScoringPathComparator.compare(Util.FSTPath<PairOutputs.Pair<java.lang.Long,BytesRef>> first,
Util.FSTPath<PairOutputs.Pair<java.lang.Long,BytesRef>> second) |
int |
NRTSuggester.ScoringPathComparator.compare(Util.FSTPath<PairOutputs.Pair<java.lang.Long,BytesRef>> first,
Util.FSTPath<PairOutputs.Pair<java.lang.Long,BytesRef>> second) |
Constructor and Description |
---|
Entry(BytesRef payload,
long weight) |
Constructor and Description |
---|
NRTSuggester(FST<PairOutputs.Pair<java.lang.Long,BytesRef>> fst,
int maxAnalyzedPathsPerOutput,
int payloadSep) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
ExternalRefSorter.ByteSequenceIterator.scratch |
BytesRef |
FSTCompletion.Completion.utf8
UTF-8 bytes of the suggestion
|
Modifier and Type | Method and Description |
---|---|
BytesRef |
ExternalRefSorter.ByteSequenceIterator.next() |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<BytesRef> |
BytesRefSorter.getComparator()
Comparator used to determine the sort order of entries.
|
java.util.Comparator<BytesRef> |
ExternalRefSorter.getComparator() |
Modifier and Type | Method and Description |
---|---|
void |
BytesRefSorter.add(BytesRef utf8)
Adds a single suggestion entry (possibly compound with its bucket).
|
void |
ExternalRefSorter.add(BytesRef utf8) |
void |
FSTCompletionBuilder.add(BytesRef utf8,
int bucket)
Appends a single suggestion and its weight to the internal buffers.
|
private boolean |
FSTCompletion.checkExistingAndReorder(java.util.ArrayList<FSTCompletion.Completion> list,
BytesRef key)
Checks if the list of
Lookup.LookupResult s already has a
key . |
private boolean |
FSTCompletion.collect(java.util.List<FSTCompletion.Completion> res,
int num,
int bucket,
BytesRef output,
FST.Arc<java.lang.Object> arc)
Recursive collect lookup results from the automaton subgraph starting at
arc . |
protected long |
WFSTCompletionLookup.WFSTInputIterator.decode(BytesRef scratch,
ByteArrayDataInput tmpInput) |
private boolean |
FSTCompletion.descendWithPrefix(FST.Arc<java.lang.Object> arc,
BytesRef utf8)
Descend along the path starting at
arc and going through bytes
in the argument. |
protected void |
WFSTCompletionLookup.WFSTInputIterator.encode(OfflineSorter.ByteSequencesWriter writer,
ByteArrayDataOutput output,
byte[] buffer,
BytesRef spare,
BytesRef payload,
java.util.Set<BytesRef> contexts,
long weight) |
private int |
FSTCompletion.getExactMatchStartingFromRootArc(int rootArcIndex,
BytesRef utf8)
Returns the first exact match by traversing root arcs, starting from the
arc
rootArcIndex . |
private java.lang.Long |
WFSTCompletionLookup.lookupPrefix(BytesRef scratch,
FST.Arc<java.lang.Long> arc) |
private java.util.List<FSTCompletion.Completion> |
FSTCompletion.lookupSortedAlphabetically(BytesRef key,
int num)
Lookup suggestions sorted alphabetically if weights are not
constant.
|
private java.util.ArrayList<FSTCompletion.Completion> |
FSTCompletion.lookupSortedByWeight(BytesRef key,
int num,
boolean collectAll)
Lookup suggestions sorted by weight (descending order).
|
Modifier and Type | Method and Description |
---|---|
protected void |
WFSTCompletionLookup.WFSTInputIterator.encode(OfflineSorter.ByteSequencesWriter writer,
ByteArrayDataOutput output,
byte[] buffer,
BytesRef spare,
BytesRef payload,
java.util.Set<BytesRef> contexts,
long weight) |
java.util.List<Lookup.LookupResult> |
WFSTCompletionLookup.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
java.util.List<Lookup.LookupResult> |
FSTCompletionLookup.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean higherWeightsFirst,
int num) |
Constructor and Description |
---|
Completion(BytesRef key,
int bucket) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Lookup.LookupResult> |
JaspellLookup.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<BytesRef> |
TSTLookup.utf8SortedAsUTF16SortOrder
TST uses UTF-16 sorting, so we need a suitable BytesRef comparator to do this.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Lookup.LookupResult> |
TSTLookup.lookup(java.lang.CharSequence key,
java.util.Set<BytesRef> contexts,
boolean onlyMorePopular,
int num) |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef[] |
TokenStreamOffsetStrategy.TokenStreamOffsetsEnum.matchDescriptions |
private BytesRef[] |
Passage.matchTerms |
private BytesRef |
PhraseHelper.SpanCollectedOffsetsEnum.term |
private BytesRef |
OffsetsEnum.OfPostings.term |
(package private) BytesRef |
OffsetsEnum.OfMatchesIteratorWithSubs.CachedOE.term |
private BytesRef[] |
UHComponents.terms |
private static BytesRef[] |
TokenStreamOffsetStrategy.ZERO_LEN_BYTES_REF_ARRAY |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<BytesRef> |
PhraseHelper.positionInsensitiveTerms |
private java.util.HashMap<Query,BytesRef> |
OffsetsEnum.OfMatchesIteratorWithSubs.queryToTermMap |
private java.util.function.Supplier<BytesRef> |
OffsetsEnum.OfMatchesIterator.termSupplier |
(package private) java.util.Map<BytesRef,PhraseHelper.SpanCollectedOffsetsEnum> |
PhraseHelper.OffsetSpanCollector.termToOffsetsEnums |
Modifier and Type | Method and Description |
---|---|
protected static BytesRef[] |
UnifiedHighlighter.filterExtractedTerms(java.util.function.Predicate<java.lang.String> fieldMatcher,
java.util.Set<Term> queryTerms) |
BytesRef[] |
PhraseHelper.getAllPositionInsensitiveTerms()
Returns the terms that are position-insensitive (sorted).
|
BytesRef[] |
Passage.getMatchTerms()
BytesRef (term text) of the matches, corresponding with
Passage.getMatchStarts() . |
BytesRef |
PhraseHelper.SpanCollectedOffsetsEnum.getTerm() |
abstract BytesRef |
OffsetsEnum.getTerm()
The term at this position.
|
BytesRef |
OffsetsEnum.OfPostings.getTerm() |
BytesRef |
OffsetsEnum.OfMatchesIteratorWithSubs.getTerm() |
BytesRef |
OffsetsEnum.OfMatchesIteratorWithSubs.CachedOE.getTerm() |
BytesRef |
OffsetsEnum.OfMatchesIterator.getTerm() |
BytesRef |
OffsetsEnum.MultiOffsetsEnum.getTerm() |
BytesRef |
TokenStreamOffsetStrategy.TokenStreamOffsetsEnum.getTerm() |
BytesRef[] |
UHComponents.getTerms() |
private BytesRef |
OffsetsEnum.OfMatchesIteratorWithSubs.queryToTerm(Query query)
Maps a Query from
MatchesIterator.getQuery() to OffsetsEnum.getTerm() . |
Modifier and Type | Method and Description |
---|---|
void |
Passage.addMatch(int startOffset,
int endOffset,
BytesRef term,
int termFreqInDoc) |
private static CharacterRunAutomaton[] |
TokenStreamOffsetStrategy.convertTermsToAutomata(BytesRef[] terms,
CharacterRunAutomaton[] automata) |
protected void |
FieldOffsetStrategy.createOffsetsEnumsForTerms(BytesRef[] sourceTerms,
Terms termsIndex,
int doc,
java.util.List<OffsetsEnum> results) |
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOptimizedOffsetSource(java.lang.String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata) |
TermsEnum |
TermVectorFilteredLeafReader.TermsFilteredTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
Constructor and Description |
---|
CachedOE(BytesRef term,
int startOffset,
int endOffset) |
OfPostings(BytesRef term,
int freq,
PostingsEnum postingsEnum) |
OfPostings(BytesRef term,
PostingsEnum postingsEnum) |
SpanCollectedOffsetsEnum(BytesRef term,
int postingsFreq) |
UHComponents(java.lang.String field,
java.util.function.Predicate<java.lang.String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Constructor and Description |
---|
OfMatchesIterator(MatchesIterator matchesIterator,
java.util.function.Supplier<BytesRef> termSupplier) |
Modifier and Type | Field and Description |
---|---|
static BytesRef |
UnicodeUtil.BIG_TERM
A binary term consisting of a number of 0xff bytes, likely to be bigger than other terms
(e.g.
|
(package private) BytesRef |
OfflineSorter.FileAndTop.current |
private BytesRef |
BytesRefBuilder.ref |
private BytesRef |
BytesRefHash.scratch1 |
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<BytesRef> |
OfflineSorter.comparator |
static java.util.Comparator<BytesRef> |
OfflineSorter.DEFAULT_COMPARATOR
Default comparator: sorts in binary (codepoint) order
|
Modifier and Type | Method and Description |
---|---|
BytesRef |
BytesRef.clone()
Returns a shallow clone of this instance (the underlying bytes are
not copied and will be shared by both the returned object and this
object.
|
static BytesRef |
BytesRef.deepCopyOf(BytesRef other)
Creates a new BytesRef that points to a copy of the bytes from
other |
BytesRef |
BytesRefBuilder.get()
Return a
BytesRef that points to the internal content of this
builder. |
BytesRef |
BytesRefArray.get(BytesRefBuilder spare,
int index)
Returns the n'th element of this
BytesRefArray |
protected abstract BytesRef |
StringMSBRadixSorter.get(int i)
Get a
BytesRef for the given index. |
BytesRef |
BytesRefHash.get(int bytesID,
BytesRef ref)
Populates and returns a
BytesRef with the bytes for the given
bytesID. |
static BytesRef |
StringHelper.intsRefToBytesRef(IntsRef ints)
|
BytesRef |
OfflineSorter.ByteSequencesReader.next()
Reads the next entry into the provided
BytesRef . |
BytesRef |
BytesRefIterator.next()
Increments the iteration to the next
BytesRef in the iterator. |
BytesRef |
BytesRefBuilder.toBytesRef()
Build a new
BytesRef that has the same content as this buffer. |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<BytesRef> |
OfflineSorter.getComparator()
Returns the comparator in use to sort entries
|
Modifier and Type | Method and Description |
---|---|
int |
BytesRefHash.add(BytesRef bytes)
Adds a new
BytesRef |
int |
BytesRefArray.append(BytesRef bytes)
Appends a copy of the given
BytesRef to this BytesRefArray . |
int |
FixedLengthBytesRefArray.append(BytesRef bytes)
Appends a copy of the given
BytesRef to this BytesRefArray . |
void |
BytesRefBuilder.append(BytesRef ref)
Append the provided bytes to this builder.
|
void |
ByteBlockPool.append(BytesRef bytes)
Appends the bytes in the provided
BytesRef at
the current position. |
int |
SortableBytesRefArray.append(BytesRef bytes)
Append a new value
|
protected abstract int |
BytesRefComparator.byteAt(BytesRef ref,
int i)
Return the unsigned byte to use for comparison at index
i , or
-1 if all bytes that are useful for comparisons are exhausted. |
static int |
StringHelper.bytesDifference(BytesRef priorTerm,
BytesRef currentTerm)
Compares two
BytesRef , element by element, and returns the
number of elements common to both arrays (from the start of each). |
boolean |
BytesRef.bytesEquals(BytesRef other)
Expert: compares the bytes against another BytesRef,
returning true if the bytes are equal.
|
static int |
UnicodeUtil.codePointCount(BytesRef utf8)
Returns the number of code points in this UTF8 sequence.
|
int |
BytesRefComparator.compare(BytesRef o1,
BytesRef o2) |
int |
BytesRef.compareTo(BytesRef other)
Unsigned byte order comparison
|
void |
PagedBytes.copy(BytesRef bytes,
BytesRef out)
Copy BytesRef in, setting BytesRef out to the result.
|
void |
BytesRefBuilder.copyBytes(BytesRef ref)
Replace the content of this builder with the provided bytes.
|
long |
PagedBytes.copyUsingLengthPrefix(BytesRef bytes)
Copy bytes in, writing the length as a 1 or 2 byte
vInt prefix.
|
void |
IntsRefBuilder.copyUTF8Bytes(BytesRef bytes)
Copy the given UTF-8 bytes into this builder.
|
void |
CharsRefBuilder.copyUTF8Bytes(BytesRef bytes)
Copy the provided bytes, interpreted as UTF-8 bytes.
|
static BytesRef |
BytesRef.deepCopyOf(BytesRef other)
Creates a new BytesRef that points to a copy of the bytes from
other |
static boolean |
StringHelper.endsWith(BytesRef ref,
BytesRef suffix)
Returns
true iff the ref ends with the given suffix. |
private boolean |
BytesRefHash.equals(int id,
BytesRef b) |
void |
PagedBytes.Reader.fill(BytesRef b,
long start)
Reads length as 1 or 2 byte vInt prefix, starting at start.
|
void |
PagedBytes.Reader.fillSlice(BytesRef b,
long start,
int length)
Gets a slice out of
PagedBytes starting at start with a
given length. |
int |
BytesRefHash.find(BytesRef bytes)
Returns the id of the given
BytesRef . |
private int |
BytesRefHash.findHash(BytesRef bytes) |
BytesRef |
BytesRefHash.get(int bytesID,
BytesRef ref)
Populates and returns a
BytesRef with the bytes for the given
bytesID. |
static int |
StringHelper.murmurhash3_x86_32(BytesRef bytes,
int seed) |
private void |
BytesRefArray.setBytesRef(BytesRefBuilder spare,
BytesRef result,
int index)
Used only by sort below, to set a
BytesRef with the specified slice, avoiding copying bytes in the common case when the slice
is contained in a single block in the byte block pool. |
(package private) void |
ByteBlockPool.setBytesRef(BytesRefBuilder builder,
BytesRef result,
long offset,
int length)
Fill the provided
BytesRef with the bytes at the specified offset/length slice. |
void |
ByteBlockPool.setBytesRef(BytesRef term,
int textStart) |
void |
ByteBlockPool.setRawBytesRef(BytesRef ref,
long offset)
|
static int |
StringHelper.sortKeyLength(BytesRef priorTerm,
BytesRef currentTerm)
Returns the length of
currentTerm needed for use as a sort key. |
static boolean |
StringHelper.startsWith(byte[] ref,
BytesRef prefix)
Returns
true iff the ref starts with the given prefix. |
static boolean |
StringHelper.startsWith(BytesRef ref,
BytesRef prefix)
Returns
true iff the ref starts with the given prefix. |
static int |
UnicodeUtil.UTF8toUTF16(BytesRef bytesRef,
char[] chars)
Utility method for
UnicodeUtil.UTF8toUTF16(byte[], int, int, char[]) |
static int |
UnicodeUtil.UTF8toUTF32(BytesRef utf8,
int[] ints)
This method assumes valid UTF8 input.
|
void |
OfflineSorter.ByteSequencesWriter.write(BytesRef ref)
Writes a BytesRef.
|
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
BytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
BytesRefIterator |
FixedLengthBytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
BytesRefIterator |
SortableBytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Sort all values by the provided comparator and return an iterator over the sorted values
|
private int[] |
BytesRefArray.sort(java.util.Comparator<BytesRef> comp) |
private int[] |
FixedLengthBytesRefArray.sort(java.util.Comparator<BytesRef> comp) |
Constructor and Description |
---|
FileAndTop(int fd,
BytesRef firstLine) |
Constructor and Description |
---|
OfflineSorter(Directory dir,
java.lang.String tempFileNamePrefix,
java.util.Comparator<BytesRef> comparator)
Defaults constructor with a custom comparator.
|
OfflineSorter(Directory dir,
java.lang.String tempFileNamePrefix,
java.util.Comparator<BytesRef> comparator,
OfflineSorter.BufferSize ramBufferSize,
int maxTempfiles,
int valueLength,
java.util.concurrent.ExecutorService exec,
int maxPartitionsInRAM)
All-details constructor.
|
Modifier and Type | Field and Description |
---|---|
BytesRef |
CompiledAutomaton.commonSuffixRef
Shared common suffix accepted by the automaton.
|
BytesRef |
CompiledAutomaton.term
For
CompiledAutomaton.AUTOMATON_TYPE.SINGLE this is the singleton term. |
Modifier and Type | Method and Description |
---|---|
private BytesRef |
CompiledAutomaton.addTail(int state,
BytesRefBuilder term,
int idx,
int leadLabel) |
BytesRef |
CompiledAutomaton.floor(BytesRef input,
BytesRefBuilder output)
Finds largest term accepted by this Automaton, that's
<= the provided input term.
|
static BytesRef |
Operations.getCommonPrefixBytesRef(Automaton a)
Returns the longest BytesRef that is a prefix of all accepted strings and
visits each state at most once.
|
static BytesRef |
Operations.getCommonSuffixBytesRef(Automaton a,
int maxDeterminizedStates)
Returns the longest BytesRef that is a suffix of all accepted strings.
|
Modifier and Type | Method and Description |
---|---|
BytesRef |
CompiledAutomaton.floor(BytesRef input,
BytesRefBuilder output)
Finds largest term accepted by this Automaton, that's
<= the provided input term.
|
static Automaton |
Automata.makeBinary(BytesRef term)
Returns a new (deterministic) automaton that accepts the single given
binary term.
|
static Automaton |
Automata.makeBinaryInterval(BytesRef min,
boolean minInclusive,
BytesRef max,
boolean maxInclusive)
Creates a new deterministic, minimal automaton accepting
all binary terms in the specified interval.
|
private static void |
Operations.reverseBytes(BytesRef ref) |
private static boolean |
Automata.suffixIsZeros(BytesRef br,
int len) |
Modifier and Type | Method and Description |
---|---|
static Automaton |
DaciukMihovAutomatonBuilder.build(java.util.Collection<BytesRef> input)
Build a minimal, deterministic automaton from a sorted list of
BytesRef representing
strings in UTF-8. |
static Automaton |
Automata.makeStringUnion(java.util.Collection<BytesRef> utf8Strings)
Returns a new (deterministic and minimal) automaton that accepts the union
of the given collection of
BytesRef s representing UTF-8 encoded
strings. |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
HeapPointReader.HeapPointValue.docIDBytes |
(package private) BytesRef |
OfflinePointReader.OfflinePointValue.docIDBytes |
(package private) BytesRef |
HeapPointReader.HeapPointValue.packedValue |
(package private) BytesRef |
OfflinePointReader.OfflinePointValue.packedValue |
private BytesRef |
BKDReader.IndexTree.scratch |
(package private) BytesRef |
BKDWriter.scratchBytesRef1 |
(package private) BytesRef |
BKDWriter.scratchBytesRef2 |
Modifier and Type | Method and Description |
---|---|
private static BytesRef[] |
BKDWriter.computeMinMax(int count,
java.util.function.IntFunction<BytesRef> packedValues,
int offset,
int length)
Return an array that contains the min and max values for the [offset, offset+length] interval
of the given
BytesRef s. |
BytesRef |
HeapPointReader.HeapPointValue.docIDBytes() |
BytesRef |
OfflinePointReader.OfflinePointValue.docIDBytes() |
BytesRef |
PointValue.docIDBytes()
Returns the byte representation of the document id
|
BytesRef |
BKDReader.IndexTree.getSplitDimValue()
Only valid after pushLeft or pushRight, not pop!
|
BytesRef |
HeapPointReader.HeapPointValue.packedValue() |
BytesRef |
OfflinePointReader.OfflinePointValue.packedValue() |
BytesRef |
PointValue.packedValue()
Returns the packed values for the dimensions
|
Modifier and Type | Method and Description |
---|---|
static void |
MutablePointsReaderUtils.partition(int maxDoc,
int splitDim,
int bytesPerDim,
int commonPrefixLen,
MutablePointValues reader,
int from,
int to,
int mid,
BytesRef scratch1,
BytesRef scratch2)
Partition points around
mid . |
static void |
MutablePointsReaderUtils.sortByDim(int sortedDim,
int bytesPerDim,
int[] commonPrefixLengths,
MutablePointValues reader,
int from,
int to,
BytesRef scratch1,
BytesRef scratch2)
Sort points on the given dimension.
|
private boolean |
BKDWriter.valueInBounds(BytesRef packedValue,
byte[] minPackedValue,
byte[] maxPackedValue)
Called only in assert
|
Modifier and Type | Method and Description |
---|---|
private static BytesRef[] |
BKDWriter.computeMinMax(int count,
java.util.function.IntFunction<BytesRef> packedValues,
int offset,
int length)
Return an array that contains the min and max values for the [offset, offset+length] interval
of the given
BytesRef s. |
private static int |
BKDWriter.runLen(java.util.function.IntFunction<BytesRef> packedValues,
int start,
int end,
int byteOffset) |
private boolean |
BKDWriter.valuesInOrderAndBounds(int count,
int sortedDim,
byte[] minPackedValue,
byte[] maxPackedValue,
java.util.function.IntFunction<BytesRef> values,
int[] docs,
int docsOffset) |
private void |
BKDWriter.writeActualBounds(DataOutput out,
int[] commonPrefixLengths,
int count,
java.util.function.IntFunction<BytesRef> packedValues) |
private void |
BKDWriter.writeLeafBlockPackedValues(DataOutput out,
int[] commonPrefixLengths,
int count,
int sortedDim,
java.util.function.IntFunction<BytesRef> packedValues) |
private void |
BKDWriter.writeLeafBlockPackedValuesRange(DataOutput out,
int[] commonPrefixLengths,
int start,
int end,
java.util.function.IntFunction<BytesRef> packedValues) |
Modifier and Type | Field and Description |
---|---|
private BytesRef |
BytesRefFSTEnum.current |
BytesRef |
BytesRefFSTEnum.InputOutput.input |
private static BytesRef |
ByteSequenceOutputs.NO_OUTPUT |
private BytesRef |
BytesRefFSTEnum.target |
Modifier and Type | Method and Description |
---|---|
BytesRef |
ByteSequenceOutputs.add(BytesRef prefix,
BytesRef output) |
BytesRef |
ByteSequenceOutputs.common(BytesRef output1,
BytesRef output2) |
BytesRef |
ByteSequenceOutputs.getNoOutput() |
BytesRef |
ByteSequenceOutputs.read(DataInput in) |
BytesRef |
ByteSequenceOutputs.subtract(BytesRef output,
BytesRef inc) |
static BytesRef |
Util.toBytesRef(IntsRef input,
BytesRefBuilder scratch)
Just converts IntsRef to BytesRef; you must ensure the
int values fit into a byte.
|
Modifier and Type | Method and Description |
---|---|
BytesRef |
ByteSequenceOutputs.add(BytesRef prefix,
BytesRef output) |
BytesRef |
ByteSequenceOutputs.common(BytesRef output1,
BytesRef output2) |
static <T> T |
Util.get(FST<T> fst,
BytesRef input)
Looks up the output for this input, or null if the
input is not accepted
|
java.lang.String |
ByteSequenceOutputs.outputToString(BytesRef output) |
long |
ByteSequenceOutputs.ramBytesUsed(BytesRef output) |
BytesRefFSTEnum.InputOutput<T> |
BytesRefFSTEnum.seekCeil(BytesRef target)
Seeks to smallest term that's >= target.
|
BytesRefFSTEnum.InputOutput<T> |
BytesRefFSTEnum.seekExact(BytesRef target)
Seeks to exactly this term, returning null if the term
doesn't exist.
|
BytesRefFSTEnum.InputOutput<T> |
BytesRefFSTEnum.seekFloor(BytesRef target)
Seeks to biggest term that's <= target.
|
BytesRef |
ByteSequenceOutputs.subtract(BytesRef output,
BytesRef inc) |
static IntsRef |
Util.toIntsRef(BytesRef input,
IntsRefBuilder scratch)
Just takes unsigned byte values from the BytesRef and
converts into an IntsRef.
|
void |
ByteSequenceOutputs.write(BytesRef prefix,
DataOutput out) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,BytesRef> |
GraphTokenStreamFiniteStrings.idToTerm |
Modifier and Type | Method and Description |
---|---|
private int |
GraphTokenStreamFiniteStrings.getTermID(int incr,
int prevIncr,
BytesRef term)
Gets an integer id for a given term and saves the position increment if needed.
|