diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-12-14 18:27:52 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-12-14 18:27:52 +0100 |
commit | 8a085f018f881670bb6f0907c431e37f12d77492 (patch) | |
tree | 9c155e88e4c14c1b2a187e5796449315828ba337 /document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java | |
parent | 3a2f9ddf6b337673aeffca83b6801f9e4fa96aee (diff) |
Match document types in document selections exactly only
Routing all child types to a cluster a parent is added to
may be convenient for some users, but if it's not what you want
it is then harder to prevent it from happening.
Diffstat (limited to 'document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java')
-rw-r--r-- | document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java b/document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java index 2da82abc614..1c0b009396d 100644 --- a/document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java +++ b/document/src/main/java/com/yahoo/document/select/rule/ExpressionNode.java @@ -7,7 +7,7 @@ import com.yahoo.document.select.Context; import com.yahoo.document.select.Visitor; /** - * This is the interface of all expression nodes. It declares the methods requires by all expression nodes to maintain + * The interface of all expression nodes. It declares the methods requires by all expression nodes to maintain * a working document selector language. * * @author Simon Thoresen Hult @@ -17,22 +17,22 @@ public interface ExpressionNode { /** * Evaluate the content of this node based on document object, and return that value. * - * @param doc the document to evaluate over. - * @return the value of this. + * @param doc the document to evaluate over + * @return the value of this */ Object evaluate(Context doc); /** * Returns the set of bucket ids covered by this node. * - * @param factory the factory used by the current application. + * @param factory the factory used by the current application */ BucketSet getBucketSet(BucketIdFactory factory); /** * Perform visitation of this node. * - * @param visitor the visitor that wishes to visit the node. + * @param visitor the visitor that wishes to visit the node */ void accept(Visitor visitor); |