algoliasearch-client-swift icon indicating copy to clipboard operation
algoliasearch-client-swift copied to clipboard

InstantSearchClient migration - Replacement for `searchDisjunctiveFaceting` ?

Open jeremierichard opened this issue 4 years ago • 6 comments

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

jeremierichard avatar Oct 26 '20 16:10 jeremierichard

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.

VladislavFitz avatar Oct 28 '20 20:10 VladislavFitz

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

jeremierichard avatar Oct 29 '20 12:10 jeremierichard

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!

VladislavFitz avatar Oct 29 '20 16:10 VladislavFitz

Hello @VladislavFitz, do you have any update on introducing disjunctive faceting in the AlgoliaSearchClient ?

morgan-backmarket avatar Jun 29 '22 15:06 morgan-backmarket

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.

VladislavFitz avatar Sep 06 '22 22:09 VladislavFitz

Hi @VladislavFitz Thank you for reopening this ticket 🙏 We will work on this on our side as soon as it's available 👍

morgan-backmarket avatar Sep 13 '22 09:09 morgan-backmarket

Hi @morgan-backmarket , The feature has been added in the version 8.16. Let me know if something doesn't work as expected.

VladislavFitz avatar Oct 26 '22 10:10 VladislavFitz

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 🙏

morgan-backmarket avatar Oct 26 '22 11:10 morgan-backmarket