apache / apache/couchdb

Allow autoupdate:false as a valid parameter when configuring a Mango index

Open
#2,313 0 comments 0 reactions 0 assignees View on GitHub
enhancement patches-welcome
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

## Summary

The Mango validation currently rejects this flag, but we should allow it as it has meaning in the server.

## Desired Behaviour

A POST to `_index` can create an index that is not updated automatically without manually tweaking the design document.

Contributor guide

Open the contributing guide

Research direction

Start by tracing Mango validation for POST requests to the _index endpoint. Check how the autoupdate parameter is validated, then verify that autoupdate:false is accepted and creates an index that is not updated automatically without manual design-document changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
api, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.