Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Fix statement around collation #700

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

mojito317
Copy link
Contributor

Overview

Meanwhile, the documentation says collation should be set to raw in the root of the design document's options object, actually, it can be set under the view object where options will be a sibling of the map and reduce fields:

{
  "_id":"_design/doc",
  "views": {
     "myview1": {
         "map": "function(...) {}",
         "options": {"collation" : "raw"}
     }
  }
}

This is misleading, because design doc root also can have an options object, but the children of that object can be include_design, local_seq, and partitioned.

Testing recommendations

No

GitHub issue number

not a significant change

Related Pull Requests

no

Checklist

I tested with make check.

Copy link
Contributor

@nickva nickva left a comment

Choose a reason for hiding this comment

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

+1

Thank you for your contribution!

@nickva nickva merged commit e35b506 into apache:main Nov 18, 2021
@mojito317 mojito317 deleted the fix-statement-around-collation branch November 18, 2021 19:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants