Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use reactivesearch to query multiple indices

I realize that one can use ReactiveBase to setup a connection to an index and then, use the components to query and return information from that index.

Is there a way to bind to multiple indices and search on a field across them or return results that are a 'merge' of fields from these multiple indices?

like image 945
kewlking Avatar asked May 13 '26 04:05

kewlking


2 Answers

In order to query multiple indices ReactiveBase can accept comma separated values in the app prop. Example:

<ReactiveBase
  app="index1,index2"
  ...
>
  ...
</ReactiveBase>
like image 75
Divyanshu Maithani Avatar answered May 14 '26 18:05

Divyanshu Maithani


thanks to siddharthlatest, it is possible by providing multiple comma-separated indices - reference.

It has been reflected in the ReactiveBase documentation as well.

like image 24
kewlking Avatar answered May 14 '26 18:05

kewlking



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!