Allow Nouveau index creation using the erlang query server
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
## Summary
Enable the use of the nouveau index function inside the native erlang query server.
## Desired Behavior
The Index function like in javascript ( index("double", "min_length", doc.min_length, {"store": true}); ) should be supported in erlang. Just like the Emit(<>, V) function, that's used for views.
## Additional context
We are using one design doc with multiple indices per feature / service. All indices are using the native erlang query server. We want to keep the indices together, but the language is set per doc, which stops us from sharing one design doc for views and nouveau indices.
Contributor guide
Research direction
Start by locating CouchDB's native Erlang query server and the JavaScript nouveau index implementation. Compare the existing Emit behavior for views with the requested Index function behavior; done means a design document using the native Erlang query server can define nouveau indices alongside views.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang, javascript
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100