public class NoTokenFoundQueryNode extends DeletedQueryNode
NoTokenFoundQueryNode
is used if a term is convert into no tokens
by the tokenizer/lemmatizer/analyzer (null).PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields
Constructor and Description |
---|
NoTokenFoundQueryNode() |
Modifier and Type | Method and Description |
---|---|
QueryNode |
cloneTree()
Recursive clone the QueryNode tree The tags are not copied to the new tree
when you call the cloneTree() method
|
java.lang.CharSequence |
toQueryString(EscapeQuerySyntax escaper)
convert to a query string understood by the query parser
|
java.lang.String |
toString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
|
add, add, allocate, clone, containsTag, getChildren, getParent, getTag, getTagMap, isDefaultField, isLeaf, isRoot, removeChildren, removeFromParent, set, setLeaf, setTag, unsetTag
public java.lang.CharSequence toQueryString(EscapeQuerySyntax escaper)
QueryNode
toQueryString
in interface QueryNode
toQueryString
in class DeletedQueryNode
public java.lang.String toString()
QueryNodeImpl
toString
in interface QueryNode
toString
in class DeletedQueryNode
QueryNode.toString()
public QueryNode cloneTree() throws java.lang.CloneNotSupportedException
QueryNode
cloneTree
in interface QueryNode
cloneTree
in class DeletedQueryNode
java.lang.CloneNotSupportedException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.