Package-level declarations

Types

Link copied to clipboard

A AndQueryNode represents an AND boolean operation performed on a list of nodes.

Link copied to clipboard
class AnyQueryNode(clauses: List<QueryNode>, var field: CharSequence?, var minimumMatchingElements: Int) : AndQueryNode

A AnyQueryNode represents an ANY operator performed on a list of nodes.

Link copied to clipboard

A BooleanQueryNode represents a list of elements which do not have an explicit boolean operator defined between them. It can be used to express a boolean query that intends to use the default boolean operator.

Link copied to clipboard
class BoostQueryNode(query: QueryNode, val value: Float) : QueryNodeImpl

A BoostQueryNode boosts the QueryNode tree which is under this node. So, it must only and always have one child.

Link copied to clipboard

A DeletedQueryNode represents a node that was deleted from the query node tree. It can be removed from the tree using the RemoveDeletedQueryNodesProcessor processor.

Link copied to clipboard

A query node implements FieldableNode interface to indicate that its children and itself are associated to a specific field.

Link copied to clipboard

A FieldQueryNode represents a element that contains field/text tuple

Link copied to clipboard

This interface should be implemented by QueryNode that holds a field and an arbitrary value.

Link copied to clipboard
class FuzzyQueryNode(field: CharSequence?, term: CharSequence?, var similarity: Float, begin: Int, end: Int) : FieldQueryNode

A FuzzyQueryNode represents a element that contains field/text/similarity tuple

Link copied to clipboard

A GroupQueryNode represents a location where the original user typed real parenthesis on the query string. This class is useful for queries like: a) a AND b OR c b) ( a AND b) OR c

Link copied to clipboard

A MatchAllDocsQueryNode indicates that a query node tree or subtree will match all documents if executed in the index.

Link copied to clipboard

A MatchNoDocsQueryNode indicates that a query node tree or subtree will not match any documents if executed in the index.

Link copied to clipboard

A ModifierQueryNode indicates the modifier value (+,-,?,NONE) for each term on the query string. For example "+t1 -t2 t3" will have a tree of:

Link copied to clipboard

A NoTokenFoundQueryNode is used if a term is convert into no tokens by the tokenizer/lemmatizer/analyzer (null).

Link copied to clipboard
Link copied to clipboard

A OrQueryNode represents an OR boolean operation performed on a list of nodes.

Link copied to clipboard

A PathQueryNode is used to store queries like /company/USA/California /product/shoes/brown. QueryText are objects that contain the text, begin position and end position in the query.

Link copied to clipboard

Query node for PhraseQuery's slop factor.

Link copied to clipboard

A ProximityQueryNode represents a query where the terms should meet specific distance conditions. (a b c) WITHIN INORDER ("a" "b" "c") WITHIN INORDER

Link copied to clipboard
interface QueryNode

A QueryNode is an interface implemented by all nodes on a QueryNode tree.

Link copied to clipboard

A QueryNodeImpl is the default implementation of the interface QueryNode

Link copied to clipboard
class QuotedFieldQueryNode(field: CharSequence?, text: CharSequence?, begin: Int, end: Int) : FieldQueryNode
Link copied to clipboard

This interface should be implemented by a QueryNode that represents some kind of range query.

Link copied to clipboard

A SlopQueryNode represents phrase query with a slop.

Link copied to clipboard

Interface for a node that has text as a CharSequence.

Link copied to clipboard

A TokenizedPhraseQueryNode represents a node created by a code that tokenizes/lemmatizes/analyzes.

Link copied to clipboard
interface ValueQueryNode<T : Any> : QueryNode

This interface should be implemented by QueryNode that holds an arbitrary value.