diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-06-26 14:03:19 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-06-26 14:03:19 +0200 |
commit | b33f763cf2d7afaa23a4a72b4bf5f6a1a1b8ffad (patch) | |
tree | 01b86d87f58902669ce386ec52188f427842fb9d /container-search | |
parent | 101fcd3df14e0c069f91f1741086e9707321741a (diff) |
Nonfunctional changes only
Diffstat (limited to 'container-search')
7 files changed, 17 insertions, 11 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/ArrayAtLookup.java b/container-search/src/main/java/com/yahoo/search/grouping/request/ArrayAtLookup.java index 094cfae6b35..ed69e8aaee7 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/ArrayAtLookup.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/ArrayAtLookup.java @@ -12,6 +12,7 @@ import com.google.common.annotations.Beta; * If the index argument is less than 0 returns the first array element; * if the index is greater than or equal to size(array) returns the last array element; * if the array is empty returns 0 (or NaN?). + * * @author arnej27959 */ @Beta @@ -28,7 +29,7 @@ public class ArrayAtLookup extends DocumentValue { public ArrayAtLookup(String attributeName, GroupingExpression indexArg) { super("array.at(" + attributeName + ", " + indexArg + ")"); this.attributeName = attributeName; - this.arg2 = indexArg; + this.arg2 = indexArg; } /** diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeFunction.java b/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeFunction.java index dfb49000ff1..d917d633e4e 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeFunction.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeFunction.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document attribute function in a {@link GroupingExpression}. It evaluates to the value of the * named attribute in the input {@link com.yahoo.search.result.Hit}. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public class AttributeFunction extends DocumentValue { @@ -14,7 +14,7 @@ public class AttributeFunction extends DocumentValue { /** * Constructs a new instance of this class. * - * @param attributeName The attribute name to assign to this. + * @param attributeName the attribute name to assign to this. */ public AttributeFunction(String attributeName) { super("attribute(" + attributeName + ")"); @@ -24,9 +24,10 @@ public class AttributeFunction extends DocumentValue { /** * Returns the name of the attribute to retrieve from the input hit. * - * @return The attribute name. + * @return the attribute name. */ public String getAttributeName() { return name; } + } diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeValue.java b/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeValue.java index 080aa3deb3d..ba50cb42b13 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeValue.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/AttributeValue.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document attribute value in a {@link GroupingExpression}. It evaluates to the value of the * named attribute in the input {@link com.yahoo.search.result.Hit}. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public class AttributeValue extends DocumentValue { @@ -14,7 +14,7 @@ public class AttributeValue extends DocumentValue { /** * Constructs a new instance of this class. * - * @param attributeName The attribute name to assign to this. + * @param attributeName the attribute name to assign to this. */ public AttributeValue(String attributeName) { super(attributeName); @@ -24,9 +24,10 @@ public class AttributeValue extends DocumentValue { /** * Returns the name of the attribute to retrieve from the input hit. * - * @return The attribute name. + * @return the attribute name. */ public String getAttributeName() { return name; } + } diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/DocIdNsSpecificValue.java b/container-search/src/main/java/com/yahoo/search/grouping/request/DocIdNsSpecificValue.java index d2049b60fc8..b350d38fde3 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/DocIdNsSpecificValue.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/DocIdNsSpecificValue.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document id specific value in a {@link GroupingExpression}. It evaluates to the namespace- * specific value of the document id of the input {@link com.yahoo.search.result.Hit}. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public class DocIdNsSpecificValue extends DocumentValue { @@ -15,5 +15,6 @@ public class DocIdNsSpecificValue extends DocumentValue { public DocIdNsSpecificValue() { super("docidnsspecific()"); } + } diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/DocumentValue.java b/container-search/src/main/java/com/yahoo/search/grouping/request/DocumentValue.java index 50d50edc865..57eb88a67d3 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/DocumentValue.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/DocumentValue.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document value in a {@link GroupingExpression}. As such, the subclasses of this can only be * used as document-level expressions (i.e. level 0, see {@link GroupingExpression#resolveLevel(int)}). * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public abstract class DocumentValue extends GroupingExpression { @@ -21,4 +21,5 @@ public abstract class DocumentValue extends GroupingExpression { } super.resolveLevel(level); } + } diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/RelevanceValue.java b/container-search/src/main/java/com/yahoo/search/grouping/request/RelevanceValue.java index 869304e117d..84a1ca34c24 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/RelevanceValue.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/RelevanceValue.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document relevance score in a {@link GroupingExpression}. It evaluates to the relevance of * the input {@link com.yahoo.search.result.Hit}. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public class RelevanceValue extends DocumentValue { @@ -15,5 +15,6 @@ public class RelevanceValue extends DocumentValue { public RelevanceValue() { super("relevance()"); } + } diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/SummaryValue.java b/container-search/src/main/java/com/yahoo/search/grouping/request/SummaryValue.java index 165d8a2b8e3..e4358f4d57d 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/request/SummaryValue.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/request/SummaryValue.java @@ -5,7 +5,7 @@ package com.yahoo.search.grouping.request; * This class represents a document summary in a {@link GroupingExpression}. It evaluates to the summary of the input * {@link com.yahoo.search.result.Hit} that corresponds to the named summary class. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public class SummaryValue extends DocumentValue { |