Hi, thanks for sharing but I am trying to get the JSON data from an API. I have a REST API that returns JSON data and I want to use that URL to get the data and then index it.
Thanks. On 2021/07/07 04:37:28, Gora Mohanty <g...@mimirtech.com> wrote: > On Wed, 7 Jul 2021 at 00:18, Janvi T <janvit...@gmail.com> wrote: > > > Hi everyone, > > I wanted to know if we can fetch data from REST API can index the data in > > solr. And if yes then how? > > > > I have an API that returns data in JSON format and I want to index that > > data into solr. I read about Data import handler and how to use > > URLDataSource but it does not seem to work with JSON data. > > > > Please take a look at > https://solr.apache.org/guide/6_6/uploading-data-with-index-handlers.html > which has information on indexing from various formats. including JSON. > > Regards, > Gora >