algolia / gatsby-plugin-algolia

A plugin to push to Algolia based on graphQl queries
https://yarn.pm/gatsby-plugin-algolia
Apache License 2.0
178 stars 45 forks source link

Allow multiple indices #3

Closed phil-linnell closed 6 years ago

phil-linnell commented 6 years ago

As per our email about multiple indices, I moved the indexName key to inside each object in the queries array.

Haroenv commented 6 years ago

This looks correct, thanks. If only I made tests so I could merge this immediately. I'll try it out on my end soon.

Does it work as expected for you?

phil-linnell commented 6 years ago

Yes it works perfectly for me.