diff options
author | Jason Rassi <rassi@10gen.com> | 2015-11-18 17:31:32 -0500 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-11-18 17:38:27 -0500 |
commit | 23136883e394b73cbc26f873cd0276779adef3df (patch) | |
tree | b53259aeeaeb8a7e7450796dec662157d9b0a44d /src/mongo/db/exec/plan_stats.h | |
parent | 7bac6c8f64019082f205c7606c65f173972960a3 (diff) | |
download | mongo-23136883e394b73cbc26f873cd0276779adef3df.tar.gz |
SERVER-19510 Move text query parsing to TextMatchExpression::init()
- Introduces FTSQuery, which is now the base class for FTSQueryImpl.
- Introduces a derived class FTSQueryNoop (which
TextNoOpMatchExpression now wraps). libfts_query_noop is now linked
into db/matcher/expressions.
- TextMatchExpression now parses the text query (which acquires a
collection lock as part of the parsing process), and TextNode now
stores a parsed version of the query. The FTSQuery::parse() call in
buildStages() is removed.
Behavior change: $text against a non-existent collection now returns
an error, instead of an empty result set.
Diffstat (limited to 'src/mongo/db/exec/plan_stats.h')
-rw-r--r-- | src/mongo/db/exec/plan_stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h index 211b975b9dc..14e07391920 100644 --- a/src/mongo/db/exec/plan_stats.h +++ b/src/mongo/db/exec/plan_stats.h @@ -601,7 +601,7 @@ struct TextStats : public SpecificStats { std::string indexName; - // Human-readable form of the FTSQueryImpl associated with the text stage. + // Human-readable form of the FTSQuery associated with the text stage. BSONObj parsedTextQuery; // Index keys that precede the "text" index key. |