diff options
Diffstat (limited to 'src/mongo/db/fts/fts_matcher.h')
-rw-r--r-- | src/mongo/db/fts/fts_matcher.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/fts/fts_matcher.h b/src/mongo/db/fts/fts_matcher.h index 660194a9585..1f3de2c91f6 100644 --- a/src/mongo/db/fts/fts_matcher.h +++ b/src/mongo/db/fts/fts_matcher.h @@ -75,6 +75,14 @@ public: */ bool negativePhrasesMatch(const BSONObj& obj) const; + const FTSQueryImpl& query() const { + return _query; + } + + const FTSSpec& spec() const { + return _spec; + } + private: /** * For matching, can we skip the positive term check? This is done as optimization when |