summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.federation.strict-contracts.def
blob: 5ceb37db8d1d9057c05fc0f1308883cc07766fa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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