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