algoliasearch-client-swift
algoliasearch-client-swift copied to clipboard
InstantSearchClient migration - Replacement for `searchDisjunctiveFaceting` ?
Hello 🙂
I am migrating from InstantSearchClient
to AlgoliaSearchClient
and I am not able to find a replacement for searchDisjunctiveFaceting
method.
My Android colleague use the Kotlin method advancedSearch line 95, but I don't have the equivalent of advancedSearch
on the iOS version.
Do you plan to integrate the searchDisjunctiveFaceting
or advancedSearch
method in the iOS SDK ?
If not, how am I supposed to use a searchDisjunctiveFaceting
like request ?
Thanks
Hello @jeremierichard,
For iOS disjunctive faceting is available as a part of our InstantSearch library. You have to use SingleIndexSearcher with a connected FilterState.
The SearchResponse
you get via onResults
observer will contain the correct facets information.
thank you @VladislavFitz for your answer 🙂
Do you have a roadmap to integrate such a feature in your AlgoliaSearchClient
?
Or should we keep the InstantSearch
library ?
Thanks
We consider to integrate this feature into all our API clients in more efficient way in the coming months. Until then, you have to keep the InstantSearch. You can select just the InstantSearchCore
framework while integrating the library into you project to reduce the size of dependency.
Stay tuned!
Hello @VladislavFitz, do you have any update on introducing disjunctive faceting in the AlgoliaSearchClient
?
Hi @morgan-backmarket , Sorry for late reply. Unfortunately, this backend implementation of this feature has been postponed, so it might be implemented manually. I reopen this issue and it to the backlog. It will be added in the coming weeks.
Hi @VladislavFitz Thank you for reopening this ticket 🙏 We will work on this on our side as soon as it's available 👍
Hi @morgan-backmarket , The feature has been added in the version 8.16. Let me know if something doesn't work as expected.
Hi @morgan-backmarket , The feature has been added in the version 8.16. Let me know if something doesn't work as expected.
Great @VladislavFitz 🎉 i'll test this version as soon as possible and let you know. Thank you 🙏