couchbaselabs / couchbaselabs/cbft

index alias results includes which original index the doc came from

Open
#170 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
26
Forks
5
PR merge metrics
No merged PRs in 30d

Description

An index alias improvement idea (raised originally by @mschoch)

The response from a search on an index alias should include which index did a search hit come from?

e.g., searching an index alias that includes index of a wiki, index of dropbox, and index of jira docs, Which doc set did this hit come from?

One application workaround idea is the JSON docs from all the datasources just includes another field that provides the original source (or bucket) of the doc. The commonly used "type" field, for example, might provide this info, but is less useful when the index alias points to indexes like "wiki1", "wiki2", "wiki3".

Nasty test case idea: beware of index alias "trees" where an index alias may points to more index aliases and how this feature might interact with alias trees.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.