Uses of Class
org.apache.lucene.util.BytesRefBuilder
Packages that use BytesRefBuilder
Package
Description
Miscellaneous Tokenstreams.
Analysis components for Synonyms.
General-purpose attributes for text analysis.
BlockTree terms dictionary.
Pluggable term index / block terms dictionary implementations.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
BlockTree terms dictionary.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Queries that compute score based upon a function.
FunctionValues for different data types.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.Highlighting search terms.
Suggest alternate spellings for words.
Support for Autocomplete/Autosuggest
Support for document suggestion
Finite-state based autosuggest.
Some utility classes.
Finite-state automaton for regular expressions.
Finite state transducers
Comparable object wrappers
-
Uses of BytesRefBuilder in org.apache.lucene.analysis.miscellaneous
Fields in org.apache.lucene.analysis.miscellaneous declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl.bytes
(package private) final BytesRefBuilder
ConcatenateGraphFilter.EscapingTokenStreamToAutomaton.spare
private final BytesRefBuilder
StemmerOverrideFilter.Builder.spare
Methods in org.apache.lucene.analysis.miscellaneous that return BytesRefBuilder -
Uses of BytesRefBuilder in org.apache.lucene.analysis.synonym
Fields in org.apache.lucene.analysis.synonym declared as BytesRefBuilder -
Uses of BytesRefBuilder in org.apache.lucene.analysis.tokenattributes
Fields in org.apache.lucene.analysis.tokenattributes declared as BytesRefBuilderModifier and TypeFieldDescriptionprotected BytesRefBuilder
CharTermAttributeImpl.builder
May be used by subclasses to convert to different charsets / encodings for implementingCharTermAttributeImpl.getBytesRef()
. -
Uses of BytesRefBuilder in org.apache.lucene.backward_codecs.lucene40.blocktree
Fields in org.apache.lucene.backward_codecs.lucene40.blocktree declared as BytesRefBuilder -
Uses of BytesRefBuilder in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
BlockTermsWriter.TermsWriter.lastPrevTerm
private final BytesRefBuilder
FixedGapTermsIndexWriter.SimpleFieldWriter.lastTerm
private final BytesRefBuilder
VariableGapTermsIndexWriter.FSTFieldWriter.lastTerm
private final BytesRefBuilder
BlockTermsReader.FieldReader.SegmentTermsEnum.term
final BytesRefBuilder
BlockTermsWriter.TermEntry.term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
OrdsBlockTreeTermsWriter.TermsWriter.lastTerm
(package private) final BytesRefBuilder
OrdsSegmentTermsEnum.term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.lucene90.blocktree
Fields in org.apache.lucene.codecs.lucene90.blocktree declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
Lucene90BlockTreeTermsWriter.TermsWriter.lastTerm
private final BytesRefBuilder
Lucene90BlockTreeTermsWriter.TermsWriter.suffixWriter
(package private) final BytesRefBuilder
SegmentTermsEnum.term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as BytesRefBuilderModifier and TypeFieldDescription(package private) BytesRefBuilder
FSTTermsReader.TermsReader.IntersectTermsEnum.term
Methods in org.apache.lucene.codecs.memory that return BytesRefBuilderModifier and TypeMethodDescription(package private) BytesRefBuilder
FSTTermsReader.TermsReader.IntersectTermsEnum.grow
(int label) (package private) BytesRefBuilder
FSTTermsReader.TermsReader.IntersectTermsEnum.shrink()
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as BytesRefBuilderModifier and TypeFieldDescription(package private) final BytesRefBuilder
SimpleTextSegmentInfoFormat.BytesRefOutput.bytes
(package private) final BytesRefBuilder
SimpleTextBKDWriter.scratch
(package private) final BytesRefBuilder
SimpleTextDocValuesReader.scratch
(package private) final BytesRefBuilder
SimpleTextDocValuesWriter.scratch
private final BytesRefBuilder
SimpleTextFieldsReader.SimpleTextDocsEnum.scratch
private final BytesRefBuilder
SimpleTextFieldsReader.SimpleTextPostingsEnum.scratch
private final BytesRefBuilder
SimpleTextFieldsReader.SimpleTextTerms.scratch
private final BytesRefBuilder
SimpleTextFieldsWriter.scratch
private final BytesRefBuilder
SimpleTextKnnVectorsReader.scratch
private final BytesRefBuilder
SimpleTextKnnVectorsReader.SimpleTextByteVectorValues.scratch
private final BytesRefBuilder
SimpleTextKnnVectorsReader.SimpleTextFloatVectorValues.scratch
private final BytesRefBuilder
SimpleTextKnnVectorsWriter.scratch
(package private) final BytesRefBuilder
SimpleTextPointsReader.scratch
(package private) final BytesRefBuilder
SimpleTextPointsWriter.scratch
private final BytesRefBuilder
SimpleTextSkipReader.scratch
private final BytesRefBuilder
SimpleTextSkipWriter.scratch
private BytesRefBuilder
SimpleTextStoredFieldsReader.scratch
private final BytesRefBuilder
SimpleTextStoredFieldsWriter.scratch
private BytesRefBuilder
SimpleTextTermVectorsReader.scratch
private final BytesRefBuilder
SimpleTextTermVectorsWriter.scratch
private final BytesRefBuilder
SimpleTextFieldsReader.SimpleTextPostingsEnum.scratch2
Methods in org.apache.lucene.codecs.simpletext with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionprivate int
SimpleTextBKDReader.SimpleTextPointTree.parseInt
(BytesRefBuilder scratch, BytesRef prefix) private void
SimpleTextBKDReader.SimpleTextPointTree.readLine
(IndexInput in, BytesRefBuilder scratch) static void
SimpleTextUtil.readLine
(DataInput in, BytesRefBuilder scratch) private String
SimpleTextFieldInfosFormat.readString
(int offset, BytesRefBuilder scratch) private String
SimpleTextSegmentInfoFormat.readString
(int offset, BytesRefBuilder scratch) private String
SimpleTextTermVectorsReader.readString
(int offset, BytesRefBuilder scratch) private boolean
SimpleTextBKDReader.SimpleTextPointTree.startsWith
(BytesRefBuilder scratch, BytesRef prefix) private String
SimpleTextBKDReader.SimpleTextPointTree.stripPrefix
(BytesRefBuilder scratch, BytesRef prefix) private String
SimpleTextCompoundFormat.stripPrefix
(BytesRefBuilder scratch, BytesRef prefix) static void
SimpleTextUtil.write
(DataOutput out, String s, BytesRefBuilder scratch) static void
SimpleTextUtil.writeChecksum
(IndexOutput out, BytesRefBuilder scratch) -
Uses of BytesRefBuilder in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as BytesRefBuilderModifier and TypeFieldDescriptionprotected BytesRefBuilder
BlockReader.forcedTerm
Set whenBlockReader.seekExact(BytesRef, TermState)
is called.protected final BytesRefBuilder
IntersectBlockReader.AutomatonNextTermCalculator.seekBytesRef
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionstatic long
RamUsageUtil.ramBytesUsed
(BytesRefBuilder bytesRefBuilder) -
Uses of BytesRefBuilder in org.apache.lucene.index
Fields in org.apache.lucene.index declared as BytesRefBuilderModifier and TypeFieldDescription(package private) final BytesRefBuilder
PrefixCodedTerms.TermIterator.builder
private final BytesRefBuilder
MultiTermsEnum.lastSeekScratch
private BytesRefBuilder
PrefixCodedTerms.Builder.lastTermBytes
(package private) BytesRefBuilder
FreqProxFields.FreqProxPostingsEnum.payload
private final BytesRefBuilder
SortedDocValuesTermsEnum.scratch
private final BytesRefBuilder
SortedSetDocValuesTermsEnum.scratch
private final BytesRefBuilder
AutomatonTermsEnum.seekBytesRef
private final BytesRefBuilder
BinaryDocValuesWriter.SortingBinaryDocValues.spare
private final BytesRefBuilder
TermsEnumIndex.TermState.term
(package private) final BytesRefBuilder
BinaryDocValuesWriter.BufferedBinaryDocValues.value
private BytesRefBuilder
BinaryDocValuesFieldUpdates.values
Constructors in org.apache.lucene.index with parameters of type BytesRefBuilderModifierConstructorDescriptionTerm
(String fld, BytesRefBuilder bytesBuilder) Constructs a Term with the given field and the bytes from a builder. -
Uses of BytesRefBuilder in org.apache.lucene.index.memory
Fields in org.apache.lucene.index.memory declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum.payloadBuilder
-
Uses of BytesRefBuilder in org.apache.lucene.queries.function
Methods in org.apache.lucene.queries.function with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionboolean
FunctionValues.bytesVal
(int doc, BytesRefBuilder target) returns the bytes representation of the string val - TODO: should this return the indexed raw bytes not? -
Uses of BytesRefBuilder in org.apache.lucene.queries.function.docvalues
Methods in org.apache.lucene.queries.function.docvalues with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionboolean
DocTermsIndexDocValues.bytesVal
(int doc, BytesRefBuilder target) -
Uses of BytesRefBuilder in org.apache.lucene.sandbox.codecs.idversion
Fields in org.apache.lucene.sandbox.codecs.idversion declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
VersionBlockTreeTermsWriter.TermsWriter.lastTerm
(package private) final BytesRefBuilder
IDVersionSegmentTermsEnum.term
-
Uses of BytesRefBuilder in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BytesRefBuilderModifier and TypeFieldDescriptionfinal BytesRefBuilder
TopTermsRewrite.ScoreTerm.bytes
private final BytesRefBuilder[]
FieldComparator.TermValComparator.tempBRs
-
Uses of BytesRefBuilder in org.apache.lucene.search.comparators
Fields in org.apache.lucene.search.comparators declared as BytesRefBuilder -
Uses of BytesRefBuilder in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate BytesRefBuilder
TokenStreamFromTermVector.spareBytesRefBuilder
-
Uses of BytesRefBuilder in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
HighFrequencyDictionary.HighFrequencyIterator.spare
private final BytesRefBuilder
PlainTextDictionary.FileIterator.spare
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate BytesRefBuilder
FileDictionary.FileIterator.curPayload
private final BytesRefBuilder
BufferedInputIterator.payloadSpare
private final BytesRefBuilder
UnsortedInputIterator.payloadSpare
private final BytesRefBuilder
BufferedInputIterator.spare
private final BytesRefBuilder
FileDictionary.FileIterator.spare
private final BytesRefBuilder
UnsortedInputIterator.spare
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
NRTSuggesterBuilder.analyzed
private final BytesRefBuilder
CompletionFieldsConsumer.CompletionTermWriter.scratch
private final BytesRefBuilder
ContextQuery.ContextCompletionWeight.scratch
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest.fst
Fields in org.apache.lucene.search.suggest.fst declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilder
FSTCompletionBuilder.scratch
Scratch buffer forFSTCompletionBuilder.add(BytesRef, int)
. -
Uses of BytesRefBuilder in org.apache.lucene.util
Fields in org.apache.lucene.util declared as BytesRefBuilderModifier and TypeFieldDescriptionprotected final BytesRefBuilder
StringSorter.pivotBuilder
protected final BytesRefBuilder
OfflineSorter.ByteSequencesReader.ref
protected final BytesRefBuilder
StringSorter.scratch1
protected final BytesRefBuilder
StringSorter.scratch2
Methods in org.apache.lucene.util with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionvoid
BytesRefBuilder.append
(BytesRefBuilder builder) Append the provided bytes to this builder.void
BytesRefBuilder.copyBytes
(BytesRefBuilder builder) Replace the content of this builder with the provided bytes.BytesRefArray.get
(BytesRefBuilder spare, int index) Returns the n'th element of thisBytesRefArray
protected abstract void
StringSorter.get
(BytesRefBuilder builder, BytesRef result, int i) (package private) void
ByteBlockPool.setBytesRef
(BytesRefBuilder builder, BytesRef result, long offset, int length) Fill the providedBytesRef
with the bytes at the specified offset and length.private void
BytesRefArray.setBytesRef
(BytesRefBuilder spare, BytesRef result, int index) Used only by sort below, to set aBytesRef
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. -
Uses of BytesRefBuilder in org.apache.lucene.util.automaton
Fields in org.apache.lucene.util.automaton declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate BytesRefBuilder
DaciukMihovAutomatonBuilder.previous
Deprecated.Used for input order checking (only through assertions right now)Methods in org.apache.lucene.util.automaton with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionprivate BytesRef
CompiledAutomaton.addTail
(int state, BytesRefBuilder term, int idx, int leadLabel) CompiledAutomaton.floor
(BytesRef input, BytesRefBuilder output) Finds largest term accepted by this Automaton, that's <= the provided input term. -
Uses of BytesRefBuilder in org.apache.lucene.util.fst
Methods in org.apache.lucene.util.fst with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionstatic BytesRef
Util.toBytesRef
(IntsRef input, BytesRefBuilder scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte. -
Uses of BytesRefBuilder in org.apache.lucene.util.mutable
Fields in org.apache.lucene.util.mutable declared as BytesRefBuilder