Vue-instantsearch - is there a way to get all records of index?

Is there a way to get all records from an index and I need one value only?
I would need a list of ids from that list to create excel report from my laravel backend.

1 Like

You can use the attributesToRetrieve query parameter.

Have a great day!

1 Like

Hi @haroen, thank you for a quick reply!
This is helpful, but I also need to fetch all records and I know that for results we need to set a result-per-page value.

Is there a way to return all results without limit?

1 Like

Yep, you can use the browse method, since you said you’re using php, this is the documentation of that: https://www.algolia.com/doc/api-reference/api-methods/browse/#methods

1 Like