[SERVER-23114] Extend ExpressionKeysPrivate::getS2Keys() to return prefixes of the indexed fields that cause the index to be multikey Created: 14/Mar/16  Updated: 06/Jun/16  Resolved: 03/Jun/16

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-23906 Enable path-level multikey tracking f... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 13 (04/22/16), Query 14 (05/13/16), Query 15 (06/03/16)
Participants:

 Comments   
Comment by Githook User [ 03/Jun/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-23114 Compute multikey paths in 2dsphere index key generation.

Propagates information about the prefixes of the indexed fields that
cause the index to be multikey as a result of inserting the generated
keys.
Branch: master
https://github.com/mongodb/mongo/commit/2a2ca32dd534c801851cadc446906152b4dbeffe

Comment by Githook User [ 03/Jun/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-23114 Move functions involving dotted paths to separate library.

The ability to specify a dotted path (e.g. "a.b") to traverse through
embedded objects and array elements isn't defined in the BSON
specification and so it doesn't belong in our BSON library.

The following functions have been defined within a 'dotted_path_support'
namespace and accept an additional BSONObj as their first argument to
replace the associated method on the BSONObj class.

  • extractElementAtPath() is functionally equivalent to
    BSONObj::getFieldDotted().
  • extractElementAtPathOrArrayAlongPath() is functionally equivalent to
    BSONObj::getFieldDottedOrArray().
  • extractAllElementsAlongPath() is functionally equivalent to
    BSONObj::getFieldsDotted().
  • extractElementsBasedOnTemplate() is functionally equivalent to
    BSONObj::extractFields().
Comment by Githook User [ 03/Jun/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-23114 Use functions in dotted_path_support namespace.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/fc0a50b9382f574837bf8f2f8b9d9c34810b7b53

Generated at Thu Feb 08 04:02:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.