Uses of Class
org.apache.lucene.util.BytesRefBuilder
-
Packages that use BytesRefBuilder Package Description 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.synonym Analysis components for Synonyms.org.apache.lucene.analysis.tokenattributes General-purpose attributes for text analysis.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.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.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.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.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.queries.function Queries that compute score based upon a function.org.apache.lucene.queries.function.docvalues FunctionValues for different data types.org.apache.lucene.search Code to search indices.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.spell Suggest alternate spellings for words.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.suggest.fst Finite-state based autosuggest.org.apache.lucene.util Some utility classes.org.apache.lucene.util.automaton Finite-state automaton for regular expressions.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.mutable Comparable object wrappers -
-
Uses of BytesRefBuilder in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell with parameters of type BytesRefBuilder Modifier and Type Method Description (package private) static void
Dictionary. encodeFlags(BytesRefBuilder b, char[] flags)
-
Uses of BytesRefBuilder in org.apache.lucene.analysis.miscellaneous
Fields in org.apache.lucene.analysis.miscellaneous declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl. bytes
(package private) BytesRefBuilder
ConcatenateGraphFilter.EscapingTokenStreamToAutomaton. spare
private BytesRefBuilder
StemmerOverrideFilter.Builder. spare
Methods in org.apache.lucene.analysis.miscellaneous that return BytesRefBuilder Modifier and Type Method Description BytesRefBuilder
ConcatenateGraphFilter.BytesRefBuilderTermAttribute. builder()
Returns the builder from which the term is derived.BytesRefBuilder
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl. builder()
-
Uses of BytesRefBuilder in org.apache.lucene.analysis.synonym
Fields in org.apache.lucene.analysis.synonym declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
SynonymMap.Builder. utf8Scratch
-
Uses of BytesRefBuilder in org.apache.lucene.analysis.tokenattributes
Fields in org.apache.lucene.analysis.tokenattributes declared as BytesRefBuilder Modifier and Type Field Description protected BytesRefBuilder
CharTermAttributeImpl. builder
May be used by subclasses to convert to different charsets / encodings for implementingCharTermAttributeImpl.getBytesRef()
. -
Uses of BytesRefBuilder in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
BlockTermsWriter.TermsWriter. lastPrevTerm
private BytesRefBuilder
FixedGapTermsIndexWriter.SimpleFieldWriter. lastTerm
private BytesRefBuilder
VariableGapTermsIndexWriter.FSTFieldWriter. lastTerm
private BytesRefBuilder
BlockTermsReader.FieldReader.SegmentTermsEnum. term
BytesRefBuilder
BlockTermsWriter.TermEntry. term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
BlockTreeTermsWriter.TermsWriter. lastTerm
private BytesRefBuilder
BlockTreeTermsWriter.TermsWriter. suffixWriter
(package private) BytesRefBuilder
SegmentTermsEnum. term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
OrdsBlockTreeTermsWriter.TermsWriter. lastTerm
(package private) BytesRefBuilder
OrdsSegmentTermsEnum. term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
VersionBlockTreeTermsWriter.TermsWriter. lastTerm
(package private) BytesRefBuilder
IDVersionSegmentTermsEnum. term
-
Uses of BytesRefBuilder in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as BytesRefBuilder Modifier and Type Field Description (package private) BytesRefBuilder
FSTTermsReader.TermsReader.IntersectTermsEnum. term
Methods in org.apache.lucene.codecs.memory that return BytesRefBuilder Modifier and Type Method Description (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 BytesRefBuilder Modifier and Type Field Description (package private) BytesRefBuilder
SimpleTextSegmentInfoFormat.BytesRefOutput. bytes
(package private) BytesRefBuilder
SimpleTextBKDWriter. scratch
(package private) BytesRefBuilder
SimpleTextDocValuesReader. scratch
(package private) BytesRefBuilder
SimpleTextDocValuesWriter. scratch
private BytesRefBuilder
SimpleTextFieldsReader.SimpleTextDocsEnum. scratch
private BytesRefBuilder
SimpleTextFieldsReader.SimpleTextPostingsEnum. scratch
private BytesRefBuilder
SimpleTextFieldsReader.SimpleTextTerms. scratch
private BytesRefBuilder
SimpleTextFieldsWriter. scratch
(package private) BytesRefBuilder
SimpleTextPointsReader. scratch
(package private) BytesRefBuilder
SimpleTextPointsWriter. scratch
private BytesRefBuilder
SimpleTextStoredFieldsReader. scratch
private BytesRefBuilder
SimpleTextStoredFieldsWriter. scratch
private BytesRefBuilder
SimpleTextTermVectorsReader. scratch
private BytesRefBuilder
SimpleTextTermVectorsWriter. scratch
private BytesRefBuilder
SimpleTextFieldsReader.SimpleTextPostingsEnum. scratch2
Methods in org.apache.lucene.codecs.simpletext with parameters of type BytesRefBuilder Modifier and Type Method Description private int
SimpleTextBKDReader. parseInt(BytesRefBuilder scratch, BytesRef prefix)
private void
SimpleTextBKDReader. readLine(IndexInput in, BytesRefBuilder scratch)
static void
SimpleTextUtil. readLine(DataInput in, BytesRefBuilder scratch)
private java.lang.String
SimpleTextFieldInfosFormat. readString(int offset, BytesRefBuilder scratch)
private java.lang.String
SimpleTextSegmentInfoFormat. readString(int offset, BytesRefBuilder scratch)
private java.lang.String
SimpleTextTermVectorsReader. readString(int offset, BytesRefBuilder scratch)
private boolean
SimpleTextBKDReader. startsWith(BytesRefBuilder scratch, BytesRef prefix)
private java.lang.String
SimpleTextBKDReader. stripPrefix(BytesRefBuilder scratch, BytesRef prefix)
private java.lang.String
SimpleTextCompoundFormat. stripPrefix(BytesRefBuilder scratch, BytesRef prefix)
static void
SimpleTextUtil. write(DataOutput out, java.lang.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 BytesRefBuilder Modifier and Type Field Description protected BytesRefBuilder
BlockReader. forcedTerm
Set whenBlockReader.seekExact(BytesRef, TermState)
is called.protected BytesRefBuilder
IntersectBlockReader.AutomatonNextTermCalculator. seekBytesRef
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type BytesRefBuilder Modifier and Type Method Description static long
RamUsageUtil. ramBytesUsed(BytesRefBuilder bytesRefBuilder)
-
Uses of BytesRefBuilder in org.apache.lucene.index
Fields in org.apache.lucene.index declared as BytesRefBuilder Modifier and Type Field Description (package private) BytesRefBuilder
PrefixCodedTerms.TermIterator. builder
private BytesRefBuilder
MultiTermsEnum. lastSeekScratch
private BytesRefBuilder
PrefixCodedTerms.Builder. lastTermBytes
(package private) BytesRefBuilder
FreqProxFields.FreqProxPostingsEnum. payload
private BytesRefBuilder
SortedDocValuesTermsEnum. scratch
private BytesRefBuilder
SortedSetDocValuesTermsEnum. scratch
private BytesRefBuilder
AutomatonTermsEnum. seekBytesRef
private BytesRefBuilder
BinaryDocValuesWriter.SortingBinaryDocValues. spare
(package private) BytesRefBuilder
BinaryDocValuesWriter.BufferedBinaryDocValues. value
private BytesRefBuilder
BinaryDocValuesFieldUpdates. values
Constructors in org.apache.lucene.index with parameters of type BytesRefBuilder Constructor Description Term(java.lang.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 BytesRefBuilder Modifier and Type Field Description private 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 BytesRefBuilder Modifier and Type Method Description boolean
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 BytesRefBuilder Modifier and Type Method Description boolean
DocTermsIndexDocValues. bytesVal(int doc, BytesRefBuilder target)
-
Uses of BytesRefBuilder in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BytesRefBuilder Modifier and Type Field Description BytesRefBuilder
TopTermsRewrite.ScoreTerm. bytes
private BytesRefBuilder[]
FieldComparator.TermOrdValComparator. tempBRs
private BytesRefBuilder[]
FieldComparator.TermValComparator. tempBRs
-
Uses of BytesRefBuilder in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
TokenStreamFromTermVector. spareBytesRefBuilder
-
Uses of BytesRefBuilder in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
HighFrequencyDictionary.HighFrequencyIterator. spare
private BytesRefBuilder
PlainTextDictionary.FileIterator. spare
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
FileDictionary.FileIterator. curPayload
private BytesRefBuilder
BufferedInputIterator. payloadSpare
private BytesRefBuilder
UnsortedInputIterator. payloadSpare
private BytesRefBuilder
BufferedInputIterator. spare
private BytesRefBuilder
FileDictionary.FileIterator. spare
private BytesRefBuilder
UnsortedInputIterator. spare
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
NRTSuggesterBuilder. analyzed
private BytesRefBuilder
CompletionFieldsConsumer.CompletionTermWriter. scratch
private BytesRefBuilder
ContextQuery.ContextCompletionWeight. scratch
-
Uses of BytesRefBuilder in org.apache.lucene.search.suggest.fst
Fields in org.apache.lucene.search.suggest.fst declared as BytesRefBuilder Modifier and Type Field Description private 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 BytesRefBuilder Modifier and Type Field Description private BytesRefBuilder
OfflineSorter.ByteSequencesReader. ref
Methods in org.apache.lucene.util with parameters of type BytesRefBuilder Modifier and Type Method Description void
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.BytesRef
BytesRefArray. get(BytesRefBuilder spare, int index)
Returns the n'th element of thisBytesRefArray
(package private) void
ByteBlockPool. setBytesRef(BytesRefBuilder builder, BytesRef result, long offset, int length)
Fill the providedBytesRef
with the bytes at the specified offset/length slice.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
Methods in org.apache.lucene.util.automaton with parameters of type BytesRefBuilder Modifier and Type Method 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. -
Uses of BytesRefBuilder in org.apache.lucene.util.fst
Methods in org.apache.lucene.util.fst with parameters of type BytesRefBuilder Modifier and Type Method Description static 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 Modifier and Type Field Description BytesRefBuilder
MutableValueStr. value
-