Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Load more result from external search engine

  • Hello, I’ve a custom search engine integrated with my wordpress website, is called Elastic Search and is integrated through the Elastic Press plugin.

    The search works great, the problem is that if for example the number of post that I show in the result page is higher than the number of posts returned by Elastic Search, when I try to lad more content, this new content loaded is not matching the result of Elastic Search anymore. Feels like that during the loading is the default wordpress search engine being called and not the Elastic Search one.

    Can your plugin be integrated in order to “load more” result from the Elastic Search engine?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dcooney


    Hi @playbasfa,
    Just responded to your email, but will cross post here.

    I would need to build an integration for ElasticPress… or alternatively.
    If you are able to get an array of Post IDs back from ElasticPress you could pass them to the post__in shortcode parameter.

    Are you able to only retrieve all the post IDs? and then pass them to ALM?



    if iam not wrong on ajax request posts are fetch from database and before ajax request there will be only few posts visble
    hy i have to ask as posts are pulling when someone click load more or scroll than how crawler will find those posts which are not yet queried i mean loaded?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.