[DOCS-6934] partial index documentation example references wrong query Created: 07/Jan/16  Updated: 11/Jan/17  Resolved: 12/Jul/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Minor - P4
Reporter: Voss Lytle (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File partial-index-doc-issue.png    
Participants:
Days since reply: 8 years, 5 weeks, 6 days ago

 Description   

The partial index documentation page here https://docs.mongodb.org/manual/core/index-partial/,
when explaining the "following" example, appears to reference the query predicate from the previous example instead of the query predicate from the "following" example. See the attached screen shot highlighting the section of the documentation and the different query predicates involved.

It appears that the section should say:

That is, the query { cuisine: "Italian", rating: { $lt: 8 } } matches more 
documents (e.g. an Italian restaurant with a rating equal to 1) than are indexed.

instead of the current version that says:

That is, the query { cuisine: "Italian", rating: { $gte: 8 } } matches more 
documents (e.g. an Italian restaurant with a rating equal to 1) than are indexed.


Generated at Thu Feb 08 07:53:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.