Limit returned data

We are looking to leverage Algolia in performing searching but ultimately would like to pull our data from firebase so that we can maintain listeners and live updating from there. Is there a way to limit the return data from algolia so that it it searches on the full indexed object but only returns the objectID of the hits rather than the whole hit?

Thanks,
Alex

Hey Alex,

we currently only support filtering Algolia fields at the moment; for this, you can specify a responseFields setting both on your index and at query time.
This could reduce the size of response but will not filter fields from your index records. Usually when you need data for search (i.e. you add fields to your records) we consider that it makes more sense to return this.
Could you detail us what your constraints really are? Couldn’t you filter the unused fields in the client code?