• Brian Becker

    (@brian-becker)


    The number of results are correct, but it is displaying the same non-post over and over.

    search for: Matthew – displays 2 articles
    search for: Remember – displays 3 articles
    search for: Butter – displays No results

    I’ve already deleted the “Hello World” post, however all results for searches gives “Hello World” as the search results.

    In my test, I’ve only created 3 posts on this test site and all three are uploading properly to CloudSearch. All of the above searches, when performed on the CloudSearch “Run a Test Search” show the posts properly.

    I’ve tried 3 different themes to verify it wasn’t a theme issue, currently I’m running Twenty Seventeen. I’m running “Plugin Based” on the Frontpage Settings.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andrea Landonio

    (@lando1982)

    Hi Brian,

    have you changed something in your theme or in a custom plugin that alter the “$post” global variable?
    It seems the plugin.. if I try to call the API of your search with the URL:

    https://search.jerusalemperspective.com/wp-admin/admin-ajax.php?action=acs_api_search&keyword=Matthew&start=0&size=100&type_field=all&sort_field=_score&sort_order=desc

    It gives 2 result with IDs 7 and 11 that I suppose not be the “Hello World”, but when the plugin try to display the posts the $post seems to be “currupted” an takes a generic post (by default the Id 1).

    Could you have a check?

    Bye

    Thread Starter Brian Becker

    (@brian-becker)

    There are 2 “Network Activated” plugins:
    Amazon Web Service
    User Syncronization – to keep users synced across the multisite

    And then the only plugin that is active in the site is CloudSearch

    Does that mean a plugin in another sites is not properly behaving and being more aggressive than it should?

    Brian

    Thread Starter Brian Becker

    (@brian-becker)

    I added cloudsearch to the main/default site and it worked on the main site but not the secondary site:

    In a staging-server-area there are just 2 in the environment.
    https://jerper.staging.wpengine.com
    https://search-jerusalemperspective-com.jerper.staging.wpengine.com/

    I deactivated ALL plugins except AWS globally and CloudSearch individually. No change.

    On the default site, I added CloudSearch, configured and clicked “Sync All Indexed Documents” and it processed 497. Searched from the main screen and got results, but highlighting wasn’t working properly in that it just showed the excerpt or opening 50 words to each found article.

    Went back to 2nd MS site (search-jerusalemperspective-com.jerper.staging.wpengine.com/) and still the search results were all “Hello World”

    Plugin Author Andrea Landonio

    (@lando1982)

    Hi Brian,
    could you provide me the URLs of the search pages (with params)? For all the two sites..

    Plugin Contributor methnen

    (@methnen)

    @brian-becker I’m pretty sure the issue you were having is exactly the same one I was having where a value was being passed to the code that gets the actual posts for a result set was incorrect in some instances.

    The latest version (2.5.1) fixes this issue.

    Thread Starter Brian Becker

    (@brian-becker)

    Thanks methnen. I appreciate the follow up. I’ve had to go a different direction but I hope that 2.5.1 will help the next user!
    Brian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Results Display Not Showing’ is closed to new replies.