diff options
author | Benjamin Murphy <benjamin_murphy@me.com> | 2016-01-26 13:32:46 -0500 |
---|---|---|
committer | Benjamin Murphy <benjamin_murphy@me.com> | 2016-02-04 10:20:28 -0500 |
commit | 597164f5b23af7d391226cf96b635c9c19da2a1a (patch) | |
tree | 91f835fb0db2c0b4805599525d8e2a2dfaefffae /src/mongo/db/exec/text.cpp | |
parent | 5d6b9725a3da28fd1114cf1c45f41f3837578b51 (diff) | |
download | mongo-597164f5b23af7d391226cf96b635c9c19da2a1a.tar.gz |
SERVER-4494 Explain includes index version for 2dsphere and text stages.
Diffstat (limited to 'src/mongo/db/exec/text.cpp')
-rw-r--r-- | src/mongo/db/exec/text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/exec/text.cpp b/src/mongo/db/exec/text.cpp index 295baa10b14..fdc53a11a25 100644 --- a/src/mongo/db/exec/text.cpp +++ b/src/mongo/db/exec/text.cpp @@ -64,6 +64,7 @@ TextStage::TextStage(OperationContext* txn, _specificStats.indexPrefix = _params.indexPrefix; _specificStats.indexName = _params.index->indexName(); _specificStats.parsedTextQuery = _params.query.toBSON(); + _specificStats.textIndexVersion = _params.index->infoObj()["textIndexVersion"].numberInt(); } bool TextStage::isEOF() { |