summaryrefslogtreecommitdiffstats
path: root/container-search/src/main
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-03-19 13:03:38 +0100
committerJon Bratseth <bratseth@oath.com>2018-03-19 13:03:38 +0100
commit904c61603407b1b522a86845376b458b5b33b2ce (patch)
tree5595894fca6c00b1a0f42c7d666d8809d858a0c4 /container-search/src/main
parent7826d89cf412a8791e4ac35deb5f199e0e95526e (diff)
Nonfunctional changes only
Diffstat (limited to 'container-search/src/main')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/query/IndexedItem.java4
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java5
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/query/WandItem.java5
3 files changed, 8 insertions, 6 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/IndexedItem.java b/container-search/src/main/java/com/yahoo/prelude/query/IndexedItem.java
index b51c206a7ff..3dafa230eb8 100644
--- a/container-search/src/main/java/com/yahoo/prelude/query/IndexedItem.java
+++ b/container-search/src/main/java/com/yahoo/prelude/query/IndexedItem.java
@@ -10,7 +10,7 @@ package com.yahoo.prelude.query;
public interface IndexedItem extends HasIndexItem {
/** Sets the name of the index to search */
- public void setIndexName(String index);
+ void setIndexName(String index);
/**
* Return the searchable term contents of this item.
@@ -18,6 +18,6 @@ public interface IndexedItem extends HasIndexItem {
* @return a string representation of what is presumably stored in an index
* which will match this item
*/
- public String getIndexedString();
+ String getIndexedString();
}
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java b/container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java
index 4b66d0d757b..2535619f193 100644
--- a/container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java
+++ b/container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java
@@ -25,9 +25,7 @@ public abstract class SimpleIndexedItem extends SimpleTaggableItem implements In
@NonNull
private String index = "";
- /**
- * The name of the index this belongs to, or "" (never null) if not specified
- **/
+ /** The name of the index this belongs to, or "" (never null) if not specified */
@NonNull
public String getIndexName() {
return index;
@@ -78,4 +76,5 @@ public abstract class SimpleIndexedItem extends SimpleTaggableItem implements In
super.disclose(discloser);
discloser.addProperty("index", index);
}
+
}
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/WandItem.java b/container-search/src/main/java/com/yahoo/prelude/query/WandItem.java
index 1e04880a284..20f034df1df 100644
--- a/container-search/src/main/java/com/yahoo/prelude/query/WandItem.java
+++ b/container-search/src/main/java/com/yahoo/prelude/query/WandItem.java
@@ -13,7 +13,6 @@ import java.nio.ByteBuffer;
* and the weights associated with the tokens of this WandItem.
* The resulting dot product will be available as a raw score in the rank framework.
*
- * @since 5.1.27
* @author geirst
*/
public class WandItem extends WeightedSetItem {
@@ -24,6 +23,7 @@ public class WandItem extends WeightedSetItem {
/**
* Creates an empty WandItem.
+ *
* @param fieldName The name of the weighted set field to search with this WandItem.
* @param targetNumHits The target for minimum number of hits to produce by the backend search operator handling this WandItem.
*/
@@ -36,6 +36,7 @@ public class WandItem extends WeightedSetItem {
* Sets the initial score threshold used by the backend search operator handling this WandItem.
* The score of a document must be larger than this threshold in order to be considered a match.
* Default value is 0.0.
+ *
* @param scoreThreshold the initial score threshold.
*/
public void setScoreThreshold(double scoreThreshold) {
@@ -49,6 +50,7 @@ public class WandItem extends WeightedSetItem {
* Similarly, a gain in performance might be expected. Default value is 1.0.
*
* NOTE: This boost factor is only used when this WandItem is searching a Vespa field.
+ *
* @param thresholdBoostFactor the boost factor.
*/
public void setThresholdBoostFactor(double thresholdBoostFactor) {
@@ -100,4 +102,5 @@ public class WandItem extends WeightedSetItem {
discloser.addProperty("scoreThreshold", scoreThreshold);
discloser.addProperty("thresholdBoostFactor", thresholdBoostFactor);
}
+
}