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/Autosuggest
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.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 transducers
|
org.apache.lucene.util.mutable |
Comparable object wrappers
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
Dictionary.encodeFlags(BytesRefBuilder b,
char[] flags) |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl.bytes |
(package private) BytesRefBuilder |
ConcatenateGraphFilter.EscapingTokenStreamToAutomaton.spare |
private BytesRefBuilder |
StemmerOverrideFilter.Builder.spare |
Modifier and Type | Method and Description |
---|---|
BytesRefBuilder |
ConcatenateGraphFilter.BytesRefBuilderTermAttribute.builder()
Returns the builder from which the term is derived.
|
BytesRefBuilder |
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl.builder() |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
SynonymMap.Builder.utf8Scratch |
Modifier and Type | Field and Description |
---|---|
protected BytesRefBuilder |
CharTermAttributeImpl.builder
May be used by subclasses to convert to different charsets / encodings for implementing
CharTermAttributeImpl.getBytesRef() . |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
BlockTermsWriter.TermsWriter.lastPrevTerm |
private BytesRefBuilder |
VariableGapTermsIndexWriter.FSTFieldWriter.lastTerm |
private BytesRefBuilder |
FixedGapTermsIndexWriter.SimpleFieldWriter.lastTerm |
BytesRefBuilder |
BlockTermsWriter.TermEntry.term |
private BytesRefBuilder |
BlockTermsReader.FieldReader.SegmentTermsEnum.term |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
BlockTreeTermsWriter.TermsWriter.lastTerm |
(package private) BytesRefBuilder |
SegmentTermsEnum.term |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
OrdsBlockTreeTermsWriter.TermsWriter.lastTerm |
(package private) BytesRefBuilder |
OrdsSegmentTermsEnum.term |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
VersionBlockTreeTermsWriter.TermsWriter.lastTerm |
(package private) BytesRefBuilder |
IDVersionSegmentTermsEnum.term |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRefBuilder |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.term |
(package private) BytesRefBuilder |
FSTTermsReader.TermsReader.IntersectTermsEnum.term |
Modifier and Type | Method and Description |
---|---|
(package private) BytesRefBuilder |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.grow(int label) |
(package private) BytesRefBuilder |
FSTTermsReader.TermsReader.IntersectTermsEnum.grow(int label) |
(package private) BytesRefBuilder |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum.shrink() |
(package private) BytesRefBuilder |
FSTTermsReader.TermsReader.IntersectTermsEnum.shrink() |
Modifier and Type | Field and Description |
---|---|
(package private) BytesRefBuilder |
SimpleTextBKDWriter.scratch |
private BytesRefBuilder |
SimpleTextTermVectorsReader.scratch |
private BytesRefBuilder |
SimpleTextTermVectorsWriter.scratch |
(package private) BytesRefBuilder |
SimpleTextPointsWriter.scratch |
private BytesRefBuilder |
SimpleTextStoredFieldsWriter.scratch |
(package private) BytesRefBuilder |
SimpleTextDocValuesWriter.scratch |
(package private) BytesRefBuilder |
SimpleTextDocValuesReader.scratch |
private BytesRefBuilder |
SimpleTextStoredFieldsReader.scratch |
private BytesRefBuilder |
SimpleTextFieldsWriter.scratch |
(package private) BytesRefBuilder |
SimpleTextPointsReader.scratch |
private BytesRefBuilder |
SimpleTextFieldsReader.SimpleTextDocsEnum.scratch |
private BytesRefBuilder |
SimpleTextFieldsReader.SimpleTextPostingsEnum.scratch |
private BytesRefBuilder |
SimpleTextFieldsReader.SimpleTextTerms.scratch |
private BytesRefBuilder |
SimpleTextFieldsReader.SimpleTextPostingsEnum.scratch2 |
Modifier and Type | Method and Description |
---|---|
private int |
SimpleTextBKDReader.parseInt(BytesRefBuilder scratch,
BytesRef prefix) |
static void |
SimpleTextUtil.readLine(DataInput in,
BytesRefBuilder scratch) |
private void |
SimpleTextBKDReader.readLine(IndexInput in,
BytesRefBuilder scratch) |
private SortedNumericSelector.Type |
SimpleTextSegmentInfoFormat.readNumericSelector(IndexInput input,
BytesRefBuilder scratch) |
private SortedSetSelector.Type |
SimpleTextSegmentInfoFormat.readSetSelector(IndexInput input,
BytesRefBuilder scratch) |
private java.lang.String |
SimpleTextTermVectorsReader.readString(int offset,
BytesRefBuilder scratch) |
private java.lang.String |
SimpleTextFieldInfosFormat.readString(int offset,
BytesRefBuilder scratch) |
private java.lang.String |
SimpleTextSegmentInfoFormat.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) |
Modifier and Type | Field and Description |
---|---|
protected BytesRefBuilder |
BlockReader.forcedTerm
Set when
BlockReader.seekExact(BytesRef, TermState) is called. |
protected BytesRefBuilder |
FSTDictionary.Browser.keyBuilder |
protected BytesRefBuilder |
IntersectBlockReader.AutomatonNextTermCalculator.seekBytesRef |
Modifier and Type | Method and Description |
---|---|
static long |
RamUsageUtil.ramBytesUsed(BytesRefBuilder bytesRefBuilder) |
Modifier and Type | Field and 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 |
(package private) BytesRefBuilder |
BinaryDocValuesWriter.BufferedBinaryDocValues.value |
private BytesRefBuilder |
BinaryDocValuesFieldUpdates.values |
Constructor and Description |
---|
Term(java.lang.String fld,
BytesRefBuilder bytesBuilder)
Constructs a Term with the given field and the bytes from a builder.
|
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum.payloadBuilder |
Modifier and Type | Method and 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?
|
Modifier and Type | Method and Description |
---|---|
boolean |
DocTermsIndexDocValues.bytesVal(int doc,
BytesRefBuilder target) |
Modifier and Type | Field and Description |
---|---|
BytesRefBuilder |
TopTermsRewrite.ScoreTerm.bytes |
private BytesRefBuilder[] |
FieldComparator.TermOrdValComparator.tempBRs |
private BytesRefBuilder[] |
FieldComparator.TermValComparator.tempBRs |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
TokenStreamFromTermVector.spareBytesRefBuilder |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
HighFrequencyDictionary.HighFrequencyIterator.spare |
private BytesRefBuilder |
PlainTextDictionary.FileIterator.spare |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
FileDictionary.FileIterator.curPayload |
private BytesRefBuilder |
UnsortedInputIterator.payloadSpare |
private BytesRefBuilder |
BufferedInputIterator.payloadSpare |
private BytesRefBuilder |
UnsortedInputIterator.spare |
private BytesRefBuilder |
BufferedInputIterator.spare |
private BytesRefBuilder |
FileDictionary.FileIterator.spare |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
NRTSuggesterBuilder.analyzed |
private BytesRefBuilder |
ContextQuery.ContextCompletionWeight.scratch |
private BytesRefBuilder |
CompletionFieldsConsumer.CompletionTermWriter.scratch |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
FSTCompletionBuilder.scratch
Scratch buffer for
FSTCompletionBuilder.add(BytesRef, int) . |
Modifier and Type | Field and Description |
---|---|
private BytesRefBuilder |
OfflineSorter.ByteSequencesReader.ref |
Modifier and Type | Method and 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 this
BytesRefArray |
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. |
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.
|
Modifier and Type | Method and Description |
---|---|
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 | Field and Description |
---|---|
BytesRefBuilder |
MutableValueStr.value |