Seperated Results from one Index


i have a multiple query search of deals. I want to split my results into two lists. First, when the query equals the title of the deal and another when the query equals the category. Can somebody help. I almost give up… working for almost 2 days on the search and it wont work :frowning:

var queries = [{
                indexName: deals,
                query: "Pizza",
                attributesForFaceting: ['category'],
                params: {
                    hitsPerPage: 3
                    //filters: '_tags:pizza'


OK. I had to do a “Replica” of the index in the backend of algolia. After that i had to add searchable attributes for this replica. So that the original only have the title included and the replica have the category. And in my code i have to add another query… thx