appbaseio / appbaseio/reactivesearch

Enhancement: Support prop to filter results by a particular index

Open
#616 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Issue Type:**

Enhancement

**Platform:**

All

**Description:**

When ReactiveSearch is used against multiple indices / cluster, there can an additional `index` (or `appFilter`, name can be decided) prop within each component that allows specifying which index/index pattern should be used to query against for the component.

Internally, this would work as mentioned in #545. Currently, this behavior is possible by the user specifying a `customQuery`. Having a prop present for it would make this possible out of the box.

**Screenshots:**

N/A

**Minimal reproduction of the problem with instructions:**

**Reactivesearch version:** x.y.z

2.13.0, i.e. latest

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.