Package | Description |
---|---|
org.apache.lucene.analysis.tokenattributes |
General-purpose attributes for text analysis.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
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 | Field and Description |
---|---|
protected BytesRefBuilder |
CharTermAttributeImpl.builder
May be used by subclasses to convert to different charsets / encodings for implementing
CharTermAttributeImpl.getBytesRef() . |
Constructor and Description |
---|
Term(String fld,
BytesRefBuilder bytesBuilder)
Constructs a Term with the given field and the bytes from a builder.
|
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 |
static void |
LegacyNumericUtils.intToPrefixCoded(int val,
int shift,
BytesRefBuilder bytes)
Deprecated.
Returns prefix coded bits after reducing the precision by
shift bits. |
static void |
LegacyNumericUtils.longToPrefixCoded(long val,
int shift,
BytesRefBuilder bytes)
Deprecated.
Returns prefix coded bits after reducing the precision by
shift bits. |
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.
|
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 |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.