diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-08-24 13:34:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 13:34:20 +0200 |
commit | bb2a96b90f2ed0890de58dc955bb6c9bc433beee (patch) | |
tree | 57b7ca32a1314539107912f42ad55a251e0a1771 /searchlib | |
parent | 41a101bd2ccfa74e072a2de51101e7881dbe8b50 (diff) | |
parent | 0ecd1ebf6e06ea9ee0d5c8fda12b02f3c2f66c13 (diff) |
Merge pull request #23755 from vespa-engine/balder/also-track-dropped-docids
Balder/also track dropped docids
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/fef/ranksetup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/fef/ranksetup.h b/searchlib/src/vespa/searchlib/fef/ranksetup.h index 1ad2fe0a77a..5b39715d5a1 100644 --- a/searchlib/src/vespa/searchlib/fef/ranksetup.h +++ b/searchlib/src/vespa/searchlib/fef/ranksetup.h @@ -31,6 +31,7 @@ public: : _attribute(attribute), _operation(operation) {} + bool enabled() const { return !_attribute.empty() && !_operation.empty(); } vespalib::string _attribute; vespalib::string _operation; }; |