summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/fts_access_method.h
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2016-05-08 14:16:24 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2016-05-08 14:16:24 -0400
commit3e26b6b80f0a4904d477f8c4bd189945941ee09e (patch)
tree1a503037b273c922f28209abcda546ac7006938d /src/mongo/db/index/fts_access_method.h
parent3a0d6ee6a2b6f82c5775380b7184501916338331 (diff)
downloadmongo-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.h9
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;
};