summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-02-09 09:58:47 +0100
committerHenning Baldersheim <balder@oath.com>2018-02-09 09:58:47 +0100
commite5bddcb27e266d6545775843eeca617306de5ff6 (patch)
treea9704bbc5a9ca246dd98f6d938aa99245c31f075 /searchcore
parent3e349b470c968586116245ef9a8719002cdf47b7 (diff)
Ensure that we filter and QFLAGS and do not automatically say we have the same capabilities as our master.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp
index 98642c6edf6..ba67b533ca5 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp
+++ b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp
@@ -1151,7 +1151,7 @@ FastS_FNET_Search::setupQueryPacket(uint32_t hitsPerNode, uint32_t qflags,
qx._features = search::fs4transport::QF_PARSEDQUERY | search::fs4transport::QF_RANKP;
qx._offset = _util.GetAlignedSearchOffset();
qx._maxhits = hitsPerNode; // capped maxhits
- qx._qflags = qflags; // filtered query flags
+ qx.setQueryFlags(qflags);
qx.setTimeout(_queryArgs->getTimeLeft());
qx.setRanking(_queryArgs->ranking);