java.lang.Object
org.apache.lucene.search.suggest.tst.TernaryTreeNode
The class creates a TST node.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) TernaryTreeNodea reference object to the node containing character next to this node's character as occurring in the inserted token.(package private) TernaryTreeNodea reference object to the node containing character higher than this node's character.(package private) TernaryTreeNodea reference object to the node containing character smaller than this node's character.(package private) charthe character stored by a node.(package private) Stringused by leaf nodes to store the complete tokens to be added to suggest list while auto-completing the prefix.(package private) Object -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
splitchar
char splitcharthe character stored by a node. -
loKid
TernaryTreeNode loKida reference object to the node containing character smaller than this node's character. -
eqKid
TernaryTreeNode eqKida reference object to the node containing character next to this node's character as occurring in the inserted token. -
hiKid
TernaryTreeNode hiKida reference object to the node containing character higher than this node's character. -
token
String tokenused by leaf nodes to store the complete tokens to be added to suggest list while auto-completing the prefix. -
val
Object val
-
-
Constructor Details
-
TernaryTreeNode
public TernaryTreeNode()Creates a new empty node
-
-
Method Details
-
sizeInBytes
long sizeInBytes()
-