summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def')
-rw-r--r--container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def20
1 files changed, 20 insertions, 0 deletions
diff --git a/container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def b/container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def
new file mode 100644
index 00000000000..5ceb37db8d1
--- /dev/null
+++ b/container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def
@@ -0,0 +1,20 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=search.federation
+
+## DEPRECATED: This config will be removed on Vespa 8
+## A config to control whether to activate strict adherence to public contracts
+## in the container. Usually, the container tries to do a best effort of hiding
+## some undesirable effects of the the public contracts. Modifying this config
+## signals the basic contract is sufficient, and allows the container to
+## activate optimizations based on this knowledge.
+
+## Strict contracts for search chains, do not clone the query if it at all
+## can be construed to be unnecessary.
+searchchains bool default=false
+
+# EVERY, // Propagate any property starting by source.[sourceName] and provider.[providerName]
+# NATIVE, // Propagate native properties only
+# ALL, // Deprecated synonym of NATIVE
+# OFFSET_HITS, // Propagate offset ands hits only
+# NONE // propagate no properties
+propagateSourceProperties enum {EVERY, NATIVE, ALL, OFFSET_HITS, NONE} default=EVERY