diff options
author | Jason Rassi <rassi@10gen.com> | 2015-03-12 18:52:56 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-03-12 18:55:39 -0400 |
commit | 0144f59236f507bf4a75a1e2b698100bcd75e4da (patch) | |
tree | 7debcec36431febf47ca2bb15f6acd912143b04f /src/mongo/db/query/query_solution.cpp | |
parent | 86f3f05da7238cabb8d260677e81a07399a0906b (diff) | |
download | mongo-0144f59236f507bf4a75a1e2b698100bcd75e4da.tar.gz |
SERVER-17437 $caseSensitive option for $text query operator
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r-- | src/mongo/db/query/query_solution.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp index 877e58612c3..91785b2d218 100644 --- a/src/mongo/db/query/query_solution.cpp +++ b/src/mongo/db/query/query_solution.cpp @@ -77,6 +77,8 @@ namespace mongo { addIndent(ss, indent + 1); *ss << "language = " << language << '\n'; addIndent(ss, indent + 1); + *ss << "caseSensitive= " << caseSensitive << '\n'; + addIndent(ss, indent + 1); *ss << "indexPrefix = " << indexPrefix.toString() << '\n'; if (NULL != filter) { addIndent(ss, indent + 1); @@ -93,6 +95,7 @@ namespace mongo { copy->indexKeyPattern = this->indexKeyPattern; copy->query = this->query; copy->language = this->language; + copy->caseSensitive = this->caseSensitive; copy->indexPrefix = this->indexPrefix; return copy; |