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

Fix statement around collation#700

Merged
nickva merged 1 commit into
apache:mainfrom
mojito317:fix-statement-around-collation
Nov 18, 2021
Merged

Fix statement around collation#700
nickva merged 1 commit into
apache:mainfrom
mojito317:fix-statement-around-collation

Conversation

@mojito317

Copy link
Copy Markdown
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.

@nickva nickva left a comment

Copy link
Copy Markdown
Contributor

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.

2 participants