You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An issue was raised on the previous plugin to be able to specify different indices to index different kind of content: algolia/algoliasearch-jekyll#37
I don't think it would be necessary to push to different indices (and it will increase the code complexity), but the same end-goal can be achieved using faceting on the same index, even with records of very different types.
I should write a guide explaining how one can do two different kind of searches with only one index. I could have a generic search into the website content (pages and posts), and another into one specific collection (list of movies?). Everything can still be pushed to the same index, but by either using faceting on the type from the front-end or using secure API key, one would be able to target one or the other.
The text was updated successfully, but these errors were encountered:
This will be handled in the example about searching into a collection. The project will have several collections and the example will explain how to limit the search to only one collection.
An issue was raised on the previous plugin to be able to specify different indices to index different kind of content: algolia/algoliasearch-jekyll#37
I don't think it would be necessary to push to different indices (and it will increase the code complexity), but the same end-goal can be achieved using faceting on the same index, even with records of very different types.
I should write a guide explaining how one can do two different kind of searches with only one index. I could have a generic search into the website content (pages and posts), and another into one specific collection (list of movies?). Everything can still be pushed to the same index, but by either using faceting on the
type
from the front-end or using secure API key, one would be able to target one or the other.The text was updated successfully, but these errors were encountered: