Package | Description |
---|---|
org.apache.lucene.search.suggest.jaspell |
JaSpell-based autosuggest.
|
Modifier and Type | Field and Description |
---|---|
protected JaspellTernarySearchTrie.TSTNode[] |
JaspellTernarySearchTrie.TSTNode.relatives
The relative nodes.
|
Modifier and Type | Method and Description |
---|---|
JaspellTernarySearchTrie.TSTNode |
JaspellTernarySearchTrie.getNode(CharSequence key)
Deprecated.
Returns the node indexed by key, or
null if that node doesn't
exist. |
protected JaspellTernarySearchTrie.TSTNode |
JaspellTernarySearchTrie.getNode(CharSequence key,
JaspellTernarySearchTrie.TSTNode startNode)
Deprecated.
Returns the node indexed by key, or
null if that node doesn't
exist. |
protected JaspellTernarySearchTrie.TSTNode |
JaspellTernarySearchTrie.getOrCreateNode(CharSequence key)
Deprecated.
Returns the node indexed by key, creating that node if it doesn't exist,
and creating any required intermediate nodes if they don't exist.
|
Modifier and Type | Method and Description |
---|---|
protected String |
JaspellTernarySearchTrie.getKey(JaspellTernarySearchTrie.TSTNode node)
Deprecated.
Returns the key that indexes the node argument.
|
protected JaspellTernarySearchTrie.TSTNode |
JaspellTernarySearchTrie.getNode(CharSequence key,
JaspellTernarySearchTrie.TSTNode startNode)
Deprecated.
Returns the node indexed by key, or
null if that node doesn't
exist. |
protected int |
JaspellTernarySearchTrie.numDataNodes(JaspellTernarySearchTrie.TSTNode startingNode)
Deprecated.
Returns the number of nodes in the subtrie below and including the starting
node.
|
protected int |
JaspellTernarySearchTrie.numNodes(JaspellTernarySearchTrie.TSTNode startingNode)
Deprecated.
Returns the total number of nodes in the subtrie below and including the
starting Node.
|
protected List<String> |
JaspellTernarySearchTrie.sortKeys(JaspellTernarySearchTrie.TSTNode startNode,
int numReturnValues)
Deprecated.
Returns keys sorted in alphabetical order.
|
Constructor and Description |
---|
TSTNode(char splitchar,
JaspellTernarySearchTrie.TSTNode parent)
Constructor method.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.