summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-05-23 14:50:58 +0200
committerJon Bratseth <bratseth@verizonmedia.com>2019-05-23 14:50:58 +0200
commit330a92e516e992f870ce83b66c6fe7f9335c5b0c (patch)
tree70c53f1b6e477fc982c3ffc1600e78dba5ec591f /config-model
parent6cbdbd32fd52f9f112ee4047fa10fee4dd66e900 (diff)
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 a99300cfd32..c4c33eab462 100644
--- a/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
+++ b/config-model/src/main/java/com/yahoo/searchdefinition/Search.java
@@ -55,32 +55,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());