apache / apache/couchdb

Automatically create Mango indexes

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

Description

Just throwing the idea...

I was wondering if it could be possible to create the index whenever a query is made. This could be an option within CouchDB whenever it receives a query and can't find an index, it would create it.

What do you think?

Contributor guide

Open the contributing guide

Research direction

Review CouchDB's Mango query and index handling to understand where a missing-index decision is made. The issue proposes automatic index creation but does not name files, tests, expected behavior, or acceptance criteria, so the scope and definition of done would need to be agreed before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.