WebDevStudios / wp-search-with-algolia

Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
https://wordpress.org/plugins/wp-search-with-algolia/
138 stars 54 forks source link

How to use integrate instantsearch functionalities in wordpresss default UI #386

Closed abdulkadernsu closed 8 months ago

abdulkadernsu commented 8 months ago

This is my woocommerce site: https://pemamall.com/ Currently using algolia to show search suggestion. Now want to use algolia to show result page as well. I don't like instant search UI. I want to keep the default UI of my site but it should work with algolia functionalities. Is there any scope?

Thanks

tw2113 commented 8 months ago

@abdulkadernsu This setting would have queries sent to Algolia, and then Algolia will return the post ID objects as part of pre_get_posts post__in parameter that your site can then fetch to show your customers.

Screen Shot 2023-10-31 at 3 18 23 PM

You won't get things like the Algolia facets and widgets with this, but you'd get the search in general powered by Algolia.

Closing this issue as a general support, but feel free to respond as needed.

abdulkadernsu commented 8 months ago

Use Algolia with native.... doesn't show the all products. Even I indexed all the products & tags. What might be the solution?

tw2113 commented 8 months ago

This setting option isn't going to influence any initial states with the display of your products. It's just going to intercept the search query and return IDs for which items it feels meets best results, based on your index configurations with the wp_searchable_posts index.

To be certain, your product totals in your WP dashboard are matching up with what you're seeing in your algolia.com dashboard?

Are you trying the same query in both places and comparing the results?