summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/text.h')
-rw-r--r--src/mongo/db/exec/text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/exec/text.h b/src/mongo/db/exec/text.h
index 1e601d769de..9c0c54baadd 100644
--- a/src/mongo/db/exec/text.h
+++ b/src/mongo/db/exec/text.h
@@ -74,6 +74,7 @@ struct TextStageParams {
class TextStage final : public PlanStage {
public:
TextStage(ExpressionContext* expCtx,
+ const Collection* collection,
const TextStageParams& params,
WorkingSet* ws,
const MatchExpression* filter);
@@ -96,6 +97,7 @@ private:
* Helper method to built the query execution plan for the text stage.
*/
std::unique_ptr<PlanStage> buildTextTree(OperationContext* opCtx,
+ const Collection* collection,
WorkingSet* ws,
const MatchExpression* filter,
bool wantTextScore) const;