diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-05-08 14:16:24 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-05-08 14:16:24 -0400 |
commit | 3e26b6b80f0a4904d477f8c4bd189945941ee09e (patch) | |
tree | 1a503037b273c922f28209abcda546ac7006938d /src/mongo/db/index/fts_access_method.h | |
parent | 3a0d6ee6a2b6f82c5775380b7184501916338331 (diff) | |
download | mongo-3e26b6b80f0a4904d477f8c4bd189945941ee09e.tar.gz |
SERVER-22726 Propagate multikey paths computed during key generation.
Diffstat (limited to 'src/mongo/db/index/fts_access_method.h')
-rw-r--r-- | src/mongo/db/index/fts_access_method.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mongo/db/index/fts_access_method.h b/src/mongo/db/index/fts_access_method.h index 794d1efe360..aa3a7dfc23e 100644 --- a/src/mongo/db/index/fts_access_method.h +++ b/src/mongo/db/index/fts_access_method.h @@ -45,8 +45,13 @@ public: } private: - // Implemented: - virtual void getKeys(const BSONObj& obj, BSONObjSet* keys) const; + /** + * Fills 'keys' with the keys that should be generated for 'obj' on this index. + * + * This function ignores the 'multikeyPaths' pointer because text indexes don't support tracking + * path-level multikey information. + */ + void getKeys(const BSONObj& obj, BSONObjSet* keys, MultikeyPaths* multikeyPaths) const final; fts::FTSSpec _ftsSpec; }; |