[DOCS-8905] Document the behavior of views and collation Created: 28/Sep/16  Updated: 01/Mar/17  Resolved: 01/Mar/17

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.4.0

Type: Task Priority: Critical - P2
Reporter: Emily Hall Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-25186 Add support for a default collation f... Closed
Participants:
Days since reply: 6 years, 50 weeks, 1 day ago
Epic Link: 3.4: Views

 Description   

We need documentation on the interaction of views and collation. It should probably go in the reference page for collation, and perhaps also in the read-only views page (or at least a link).

Behavior:

  • Like collections, views have a default collation. You can specify a default collation for a view at creation time; if no collation is specified, the view's default collation is the "simple" collator.
  • A view on a collection completely ignores the collection's default collation.
  • A view on another view must have a collation that exactly matches the backing view – see below.
  • The default collation of a view cannot be overridden. The following operations should fail with an OptionNotSupportedOnView error:
    • Specifying a per-operation collation that differs from an operation involving a view, whether directly or via $lookup or $graphLookup
    • Performing any operation that involves multiple views (i.e. via $lookup or $graphLookup) where the views don't all have the same collation
    • Creating a view to depend on another view that does not have a matching collation
    • Modifying a view to depend on another view that does not have a matching collation


 Comments   
Comment by Githook User [ 01/Mar/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-8905 reorg collation and views behavior
Branch: master
https://github.com/mongodb/docs/commit/b45162a1f590fee62d6f78423ad2733a54566c94

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