typesense / typesense-instantsearch-adapter

A JS adapter library to build rich search interfaces with Typesense and InstantSearch.js
MIT License
402 stars 63 forks source link

How to access data exposed by facet_return_parent #204

Closed jfitzsimmons2 closed 4 months ago

jfitzsimmons2 commented 4 months ago

Description

We have enabled facet_return_parent in the search parameters for a particular field. This is returning the data properly, but we can only see the parent field if using raw requests. Is there a way to see this information if using instantsearch/typesense instantsearch adapter?

Steps to reproduce

facet_return_parent: 'FieldName.Property'

Expected Behavior

I would expect this data to be exposed somewhere by the InstantSearch adapter

Actual Behavior

All facet data and component data doesn't contain the parent data exposed by facet_return_parent

Metadata

Typesense Version: 26

OS: Windows

jasonbosco commented 4 months ago

AFAICT, this is not possible with Instantsearch, since Algolia does not have this feature...

jfitzsimmons2 commented 4 months ago

That's what I thought but wanted to open an issue just in case I was missing something, thanks for the reply!