[DOCS-14378] Documentation does not reflect changes made in SERVER-23882 Created: 23/Apr/21  Updated: 13/Nov/23  Due: 28/Jan/22  Resolved: 02/Feb/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.0.0, 4.2.0, 4.4, 5.0.0, 5.2.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Chris Harris Assignee: Ashley Brown
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 41 weeks, 5 days ago
Epic Link: DOCSP-11701
Story Points: 1

 Description   

Description

SERVER-23882, implemented in version 3.3.10 of the server, introduced collation as part of a query's shape.  Despite a specific note in the description of the ticket, it looks like the documentation was never updated to reflect the change.  The entry on the glossary page currently still reads as follows:

A combination of query predicate, sort, and projection.

Relatedly, the PlanCache.getPlansByQuery() documentation currently states that the command has the following definition:

db.collection.getPlanCache().getPlansByQuery( <query>, <projection>, <sort> ) 

But it actually accepts a fourth argument which is the collation:

> db.foo.getPlanCache().getPlansByQuery
function(query, projection, sort, collation) {
    return this._runCommandThrowOnError("planCacheListPlans",
                                        this._parseQueryShape(query, projection, sort, collation));
} 

Worth noting here: the getPlansByQuery() function was deprecated in version 4.2 and is now removed as of 4.4.  At the time of writing, version 3.6 reaches EOL this month but versions 4.0 and 4.2 will still be supported for a while.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)


Generated at Thu Feb 08 08:10:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.