diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-07-02 14:42:27 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-07-02 14:42:27 +0200 |
commit | 6c765d0f5f2266171beec0c3df620c961fd79b0d (patch) | |
tree | 89c8e96ba2e263e6d01fda101df693fe23c14b42 /searchcore | |
parent | 742ed4f29fab638615814ecac8af752779f22bc3 (diff) |
Use distance metric from live config.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/attributesconfigscout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attributesconfigscout.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attributesconfigscout.cpp index 986571d07e1..7f6d47f4ae2 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attributesconfigscout.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attributesconfigscout.cpp @@ -30,6 +30,7 @@ AttributesConfigScout::adjust(AttributesConfig::Attribute &attr, attr.huge = liveAttr.huge; // Note: Predicate attributes only handle changes for the dense-posting-list-threshold config. attr.densepostinglistthreshold = liveAttr.densepostinglistthreshold; + attr.distancemetric = liveAttr.distancemetric; attr.index = liveAttr.index; } |