Class OptionalNode
java.lang.Object
redis.clients.jedis.search.querybuilder.QueryNode
redis.clients.jedis.search.querybuilder.IntersectNode
redis.clients.jedis.search.querybuilder.OptionalNode
- All Implemented Interfaces:
Node
Created by mnunberg on 2/23/18.
The optional node affects scoring and ordering. If it evaluates to true, the result is ranked
higher. It is helpful to combine it with a
UnionNode to rank a document higher if it
meets one of several criteria.
In RS: ~(@lang:en @country:us).-
Nested Class Summary
Nested classes/interfaces inherited from interface redis.clients.jedis.search.querybuilder.Node
Node.Parenthesize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString(Node.Parenthesize mode) Returns the string form of this node.Methods inherited from class redis.clients.jedis.search.querybuilder.IntersectNode
getJoinString
-
Constructor Details
-
OptionalNode
public OptionalNode()
-
-
Method Details