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 BytesRefBuilderConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl.bytes(package private) final BytesRefBuilderConcatenateGraphFilter.EscapingTokenStreamToAutomaton.spareprivate final BytesRefBuilderStemmerOverrideFilter.Builder.spareMethods 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 BytesRefBuilderCharTermAttributeImpl.builderMay 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 BytesRefBuilderBlockTermsWriter.TermsWriter.lastPrevTermprivate final BytesRefBuilderFixedGapTermsIndexWriter.SimpleFieldWriter.lastTermprivate final BytesRefBuilderVariableGapTermsIndexWriter.FSTFieldWriter.lastTermprivate final BytesRefBuilderBlockTermsReader.FieldReader.SegmentTermsEnum.termfinal BytesRefBuilderBlockTermsWriter.TermEntry.term -
Uses of BytesRefBuilder in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilderOrdsBlockTreeTermsWriter.TermsWriter.lastTerm(package private) final BytesRefBuilderOrdsSegmentTermsEnum.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 BytesRefBuilderLucene90BlockTreeTermsWriter.TermsWriter.lastTermprivate final BytesRefBuilderLucene90BlockTreeTermsWriter.TermsWriter.suffixWriter(package private) final BytesRefBuilderSegmentTermsEnum.term -
Uses of BytesRefBuilder in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as BytesRefBuilderModifier and TypeFieldDescription(package private) BytesRefBuilderFSTTermsReader.TermsReader.IntersectTermsEnum.termMethods in org.apache.lucene.codecs.memory that return BytesRefBuilderModifier and TypeMethodDescription(package private) BytesRefBuilderFSTTermsReader.TermsReader.IntersectTermsEnum.grow(int label) (package private) BytesRefBuilderFSTTermsReader.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 BytesRefBuilderSimpleTextSegmentInfoFormat.BytesRefOutput.bytes(package private) final BytesRefBuilderSimpleTextBKDWriter.scratch(package private) final BytesRefBuilderSimpleTextDocValuesReader.scratch(package private) final BytesRefBuilderSimpleTextDocValuesWriter.scratchprivate final BytesRefBuilderSimpleTextFieldsReader.SimpleTextDocsEnum.scratchprivate final BytesRefBuilderSimpleTextFieldsReader.SimpleTextPostingsEnum.scratchprivate final BytesRefBuilderSimpleTextFieldsReader.SimpleTextTerms.scratchprivate final BytesRefBuilderSimpleTextFieldsWriter.scratchprivate final BytesRefBuilderSimpleTextKnnVectorsReader.scratchprivate final BytesRefBuilderSimpleTextKnnVectorsReader.SimpleTextByteVectorValues.scratchprivate final BytesRefBuilderSimpleTextKnnVectorsReader.SimpleTextFloatVectorValues.scratchprivate final BytesRefBuilderSimpleTextKnnVectorsWriter.scratch(package private) final BytesRefBuilderSimpleTextPointsReader.scratch(package private) final BytesRefBuilderSimpleTextPointsWriter.scratchprivate final BytesRefBuilderSimpleTextSkipReader.scratchprivate final BytesRefBuilderSimpleTextSkipWriter.scratchprivate BytesRefBuilderSimpleTextStoredFieldsReader.scratchprivate final BytesRefBuilderSimpleTextStoredFieldsWriter.scratchprivate BytesRefBuilderSimpleTextTermVectorsReader.scratchprivate final BytesRefBuilderSimpleTextTermVectorsWriter.scratchprivate final BytesRefBuilderSimpleTextFieldsReader.SimpleTextPostingsEnum.scratch2Methods in org.apache.lucene.codecs.simpletext with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionprivate intSimpleTextBKDReader.SimpleTextPointTree.parseInt(BytesRefBuilder scratch, BytesRef prefix) private voidSimpleTextBKDReader.SimpleTextPointTree.readLine(IndexInput in, BytesRefBuilder scratch) static voidSimpleTextUtil.readLine(DataInput in, BytesRefBuilder scratch) private StringSimpleTextFieldInfosFormat.readString(int offset, BytesRefBuilder scratch) private StringSimpleTextSegmentInfoFormat.readString(int offset, BytesRefBuilder scratch) private StringSimpleTextTermVectorsReader.readString(int offset, BytesRefBuilder scratch) private booleanSimpleTextBKDReader.SimpleTextPointTree.startsWith(BytesRefBuilder scratch, BytesRef prefix) private StringSimpleTextBKDReader.SimpleTextPointTree.stripPrefix(BytesRefBuilder scratch, BytesRef prefix) private StringSimpleTextCompoundFormat.stripPrefix(BytesRefBuilder scratch, BytesRef prefix) static voidSimpleTextUtil.write(DataOutput out, String s, BytesRefBuilder scratch) static voidSimpleTextUtil.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 BytesRefBuilderBlockReader.forcedTermSet whenBlockReader.seekExact(BytesRef, TermState)is called.protected final BytesRefBuilderIntersectBlockReader.AutomatonNextTermCalculator.seekBytesRefMethods in org.apache.lucene.codecs.uniformsplit with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionstatic longRamUsageUtil.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 BytesRefBuilderPrefixCodedTerms.TermIterator.builderprivate final BytesRefBuilderMultiTermsEnum.lastSeekScratchprivate BytesRefBuilderPrefixCodedTerms.Builder.lastTermBytes(package private) BytesRefBuilderFreqProxFields.FreqProxPostingsEnum.payloadprivate final BytesRefBuilderSortedDocValuesTermsEnum.scratchprivate final BytesRefBuilderSortedSetDocValuesTermsEnum.scratchprivate final BytesRefBuilderAutomatonTermsEnum.seekBytesRefprivate final BytesRefBuilderBinaryDocValuesWriter.SortingBinaryDocValues.spareprivate final BytesRefBuilderTermsEnumIndex.TermState.term(package private) final BytesRefBuilderBinaryDocValuesWriter.BufferedBinaryDocValues.valueprivate BytesRefBuilderBinaryDocValuesFieldUpdates.valuesConstructors 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 BytesRefBuilderMemoryIndex.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 TypeMethodDescriptionbooleanFunctionValues.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 TypeMethodDescriptionbooleanDocTermsIndexDocValues.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 BytesRefBuilderVersionBlockTreeTermsWriter.TermsWriter.lastTerm(package private) final BytesRefBuilderIDVersionSegmentTermsEnum.term -
Uses of BytesRefBuilder in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BytesRefBuilderModifier and TypeFieldDescriptionfinal BytesRefBuilderTopTermsRewrite.ScoreTerm.bytesprivate 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 BytesRefBuilderTokenStreamFromTermVector.spareBytesRefBuilder -
Uses of BytesRefBuilder in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate final BytesRefBuilderHighFrequencyDictionary.HighFrequencyIterator.spareprivate final BytesRefBuilderPlainTextDictionary.FileIterator.spare -
Uses of BytesRefBuilder in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as BytesRefBuilderModifier and TypeFieldDescriptionprivate BytesRefBuilderFileDictionary.FileIterator.curPayloadprivate final BytesRefBuilderBufferedInputIterator.payloadSpareprivate final BytesRefBuilderUnsortedInputIterator.payloadSpareprivate final BytesRefBuilderBufferedInputIterator.spareprivate final BytesRefBuilderFileDictionary.FileIterator.spareprivate final BytesRefBuilderUnsortedInputIterator.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 BytesRefBuilderNRTSuggesterBuilder.analyzedprivate final BytesRefBuilderCompletionFieldsConsumer.CompletionTermWriter.scratchprivate final BytesRefBuilderContextQuery.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 BytesRefBuilderFSTCompletionBuilder.scratchScratch 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 BytesRefBuilderStringSorter.pivotBuilderprotected final BytesRefBuilderOfflineSorter.ByteSequencesReader.refprotected final BytesRefBuilderStringSorter.scratch1protected final BytesRefBuilderStringSorter.scratch2Methods in org.apache.lucene.util with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionvoidBytesRefBuilder.append(BytesRefBuilder builder) Append the provided bytes to this builder.static StringToStringUtils.bytesRefToString(BytesRefBuilder b) voidBytesRefBuilder.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 thisBytesRefArrayprotected abstract voidStringSorter.get(BytesRefBuilder builder, BytesRef result, int i) (package private) voidByteBlockPool.setBytesRef(BytesRefBuilder builder, BytesRef result, long offset, int length) Fill the providedBytesRefwith the bytes at the specified offset and length.private voidBytesRefArray.setBytesRef(BytesRefBuilder spare, BytesRef result, int index) Used only by sort below, to set aBytesRefwith 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 BytesRefBuilderDaciukMihovAutomatonBuilder.previousDeprecated.Used for input order checking (only through assertions right now)Methods in org.apache.lucene.util.automaton with parameters of type BytesRefBuilderModifier and TypeMethodDescriptionprivate BytesRefCompiledAutomaton.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 BytesRefUtil.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