• Resolved rdanamcd

    (@rdanamcd)


    Hi, a general question to get my mind wrapped around this. I’ve connected everything and it works great. I’ve read through your documentation and this is probably a simple question I don’t fully grasp.

    My question is for “Use Algolia in the backend” and have “AutoComplete” turned off. Does Algolia still take over the WP_Query and redirect to your servers? Example: Are my posts that are indexed returned from Algolia instead of MySQL for Search and for any Category/Tag pages viewed that are attached to the posts?

    Thanks
    Dana

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor rayrutjes

    (@rayrutjes)

    Hi Dana,

    Thanks for asking!

    When you use Algolia in the backend, we will only hook into the native search page.

    What we do is that we ask Algolia for the results prior to the WP_Query execution, and then we simply load all the posts from your database by ID fetched from Algolia.

    By doing so, we ensure that you have the best ranking possible for your results, but at the same time you keep your theme intact because we make WordPress think the posts are loaded in a classical fashion.

    We do nothing on category and tags pages for now. Feel free to submit a request here if you have a feature request: https://github.com/algolia/algoliasearch-wordpress

    I hope my answer is clear, let me know if you need further details 😉

    Thread Starter rdanamcd

    (@rdanamcd)

    Yes, this makes sense. I appreciate the quick response.

    Thanks
    Dana

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How this works question’ is closed to new replies.