aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2019-05-26 18:48:39 +0200
committerGitHub <noreply@github.com>2019-05-26 18:48:39 +0200
commit95d01dae2e1b02e5fff74cd16250d3d1296c6fff (patch)
tree89a4b4d43cd029ab091b791589458f3343731ae1 /config-model
parentb3521ac1ac300fa5e90d4bf4534ed578d442bcf5 (diff)
parent330a92e516e992f870ce83b66c6fe7f9335c5b0c (diff)
Merge pull request #9520 from vespa-engine/bratseth/uri-in-yql
Support URI matching in YQL
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/searchdefinition/Search.java18
1 files changed, 8 insertions, 10 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 d5a8f6419fb..81c549a6f78 100644
--- a/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
+++ b/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
@@ -53,32 +53,30 @@ public class Search implements Serializable, ImmutableSearch {
return RESERVED_NAMES.contains(name);
}
- // Field sets
private FieldSets fieldSets = new FieldSets();
- // The unique name of this search definition.
+ /** The unique name of this search definition */
private String name;
- // True if this doesn't define a search, just some documents.
+ /** True if this doesn't define a search, just a document type */
private boolean documentsOnly = false;
- // The stemming setting of this search definition. Default is BEST.
+ /** The stemming setting of this search definition. Default is BEST. */
private Stemming stemming = Stemming.BEST;
- // Documents contained in this definition.
+ /** Documents contained in this definition */
private SDDocumentType docType;
- // The extra fields of this search definition.
+ /** The extra fields of this search definition */
private Map<String, SDField> fields = new LinkedHashMap<>();
- // The explicitly defined indices of this search definition.
+ /** The explicitly defined indices of this search definition */
private Map<String, Index> indices = new LinkedHashMap<>();
- // The explicitly defined summaries of this search definition.
- // _Must_ preserve order
+ /** The explicitly defined summaries of this search definition. _Must_ preserve order. */
private Map<String, DocumentSummary> summaries = new LinkedHashMap<>();
- // Ranking constants of this
+ /** Ranking constants of this */
private RankingConstants rankingConstants = new RankingConstants();
private Optional<TemporaryImportedFields> temporaryImportedFields = Optional.of(new TemporaryImportedFields());