Package | Description |
---|---|
org.apache.lucene.util.fst |
Finite state transducers
|
Modifier and Type | Field and Description |
---|---|
IntsRefBuilder |
Util.FSTPath.input |
Modifier and Type | Method and Description |
---|---|
void |
Util.TopNSearcher.addStartPaths(FST.Arc<T> node,
T startOutput,
boolean allowEmptyString,
IntsRefBuilder input)
Adds all leaving arcs, including 'finished' arc, if
the node is final, from this node into the queue.
|
static IntsRef |
Util.getByOutput(FST<Long> fst,
long targetOutput,
FST.BytesReader in,
FST.Arc<Long> arc,
FST.Arc<Long> scratchArc,
IntsRefBuilder result)
Expert: like
Util.getByOutput(FST, long) except reusing
BytesReader, initial and scratch Arc, and result. |
static IntsRef |
Util.toIntsRef(BytesRef input,
IntsRefBuilder scratch)
Just takes unsigned byte values from the BytesRef and
converts into an IntsRef.
|
static IntsRef |
Util.toUTF16(CharSequence s,
IntsRefBuilder scratch)
Just maps each UTF16 unit (char) to the ints in an
IntsRef.
|
static IntsRef |
Util.toUTF32(char[] s,
int offset,
int length,
IntsRefBuilder scratch)
Decodes the Unicode codepoints from the provided
char[] and places them in the provided scratch
IntsRef, which must not be null, returning it.
|
static IntsRef |
Util.toUTF32(CharSequence s,
IntsRefBuilder scratch)
Decodes the Unicode codepoints from the provided
CharSequence and places them in the provided scratch
IntsRef, which must not be null, returning it.
|
Constructor and Description |
---|
Util.FSTPath(T cost,
FST.Arc<T> arc,
IntsRefBuilder input)
Sole constructor
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.