summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2020-03-17 11:41:59 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2020-03-17 11:41:59 +0100
commit79f4cb5be4a6719d0b11cd39c3f44af2849903b8 (patch)
tree58d830381f0e6f05309d49d4b8f5c88aa2545db9 /config-model/src/main/java/com/yahoo/searchdefinition/Search.java
parentca1eae82829cd9f2d270b2b788432a4461c1dc3e (diff)
Revert "Merge pull request #12565 from vespa-engine/revert-12563-bratseth/search-to-schema"
This reverts commit ea5fe1bf8c0d389a3964d2e5c490994920d21a4e, reversing changes made to 7e92c3852e893d09f0aa821e04e4e9dbe83b4ab2.
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/Search.java')
-rw-r--r--config-model/src/main/java/com/yahoo/searchdefinition/Search.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/Search.java b/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
index f90a7e4f6cd..0ab8a2308a4 100644
--- a/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
+++ b/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
@@ -288,7 +288,7 @@ public class Search implements ImmutableSearch {
/**
* Adds an extra field of this search definition not contained in a document
*
- * @param field to add to the searchdefinitions list of external fields.
+ * @param field to add to the schemas list of external fields
*/
public void addExtraField(SDField field) {
if (fields.containsKey(field.getName())) {
@@ -383,7 +383,7 @@ public class Search implements ImmutableSearch {
* Consolidates a set of index settings for the same index into one
*
* @param indices The list of indexes to consolidate.
- * @return The consolidated index
+ * @return the consolidated index
*/
private Index consolidateIndices(List<Index> indices) {
Index first = indices.get(0);