Skip to content

Conversation

rueckstiess
Copy link
Contributor

@rueckstiess rueckstiess commented Mar 1, 2017

master was extracting nested field names, but not out of arrays of sub-documents. This change fixes it and adds a unit test.

With a collection of these docs:
screen shot 2017-03-01 at 16 34 06

The field dropdown in the "create index" modal now shows nested fields from arrays of sub-documents, e.g. reviews.rating.
screen shot 2017-03-01 at 16 34 13

Copy link
Contributor

@aherlihy aherlihy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except the travis failure which looks like it may be unrelated (same as #807 (comment))?

Going to trigger it again and see what happens.

@durran durran merged commit cafb3d0 into master Mar 1, 2017
@durran durran deleted the COMPASS-703-index-on-array-subfields branch March 1, 2017 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants