appbaseio / appbaseio/reactivesearch

Enhancement: Support prop to filter results by a particular index

Aperta
#616 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
4.9k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.