• Resolved qctechjunkie

    (@qctechjunkie)


    For some reason the serach results with “Use Algolia in the backend” is limting the display to 12 resutls, despite there being 27 hits on the Algolia dashboard.

    We would like all the results to be displayed.

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is there any sort of pagination being offered? I’m also curious about the posts per page settings that would be found in Settings > Reading in case those match up with what you’re seeing here.

    Thread Starter qctechjunkie

    (@qctechjunkie)

    Apologies for not responding sooner. No, it’s not a pagination setting issue, as it’s setup to show 12 results per page.

    If Use Algolia in the backend is enabled, searching for the term oil on the site returns 6 results.

    If Do not use Algolia is enabled, searching for the term oil returns 259 results.

    If I log into the Algolia client dashboard and search for the term oil in either the wp_searchable_posts or wp_posts_product indexs I get 277 hits and 187 hits respectively.

    • This reply was modified 3 years, 5 months ago by qctechjunkie.
    • This reply was modified 3 years, 5 months ago by qctechjunkie.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm, if I’m reading correctly, you have at least 277 indexed in Algolia, and at least 259 of the same post type in the local database, however, when trying to have Algolia do the search handling, as stated, returning much fewer results.

    Laying this out to mentally map to myself, where potentially something with the admin-based query is not optimal, compared to standard WordPress queries sans the integration.

    Does it sound like I generally have this correct? ??

    Thread Starter qctechjunkie

    (@qctechjunkie)

    That is correct, substanially less results. I would expect the results to be similar to the results returned on the Algolia dashboard page.

    Having the same issue here. Using Algolia on the backend.
    Search results are limited to 10 (I’m using Astra Pro theme with pagination).

    Also interested in a solution that overwrites this.

    P/S Thank you for the plugin!

    • This reply was modified 3 years, 5 months ago by evita086.
    • This reply was modified 3 years, 5 months ago by evita086.
    Thread Starter qctechjunkie

    (@qctechjunkie)

    @tw2113 any update?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Had not yet had a chance to circle back just yet, but will try to asap.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Going to try and return to this today.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Gave things a go thus far and didn’t make as much progress as I hoped. Also at this point, I need to tap some shoulders to check on some things, so I’ll have to try to circle back next week.

    Best guesses I have at the moment are maybe configuration in your Algolia dashboard is playing some parts?

    Sorry for the delays in all of this so far.

    Thread Starter qctechjunkie

    (@qctechjunkie)

    @tw2113 thank you for the update. Let me know if you need anything from my end.

    Thread Starter qctechjunkie

    (@qctechjunkie)

    @tw2113 any updates?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Some questions and notes for you. I have conferred with others involved in the plugin development and am able to respond now ??

    Do you by chance have a dev/staging copy of the website that you could try some things on? Asking because we’ve noticed you have both WooCommerce and FacetWP active on the site, and those can end up doing a lot of custom queries/modifications to the WP_Query class.

    We have a similar issue that was opened but then closed over at https://github.com/WebDevStudios/wp-search-with-algolia/issues/98#issuecomment-707056777 which was related to FacetWP. However, I don’t know if there was any solution available. That said, if there’s a way you could safely disable FacetWP and re-test your use case, that would be awesome. If anything, it’d give us the source.

    Thread Starter qctechjunkie

    (@qctechjunkie)

    I disabled FacetWP and I still got only 12 results back when searhcing for wild

    But, if I disabled Algolia for search, the same search term kicked back 24 results.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm.

    It’s my understanding that the way the plugin works is that it makes a query to the connected Algolia instance, and then replaces the found data from the WP_Query, with the posts coming from Algolia. So the biggest question in my mind at the moment at least is why are the results different

    Thread Starter qctechjunkie

    (@qctechjunkie)

    @tw2113 Not sure either, I’m very much stumped.

    I disabled all the plugins except for WC, ACF Pro, and WP Search with Algolia. Still only got 12 results returned. I believe that proves we’re not dealing with a plugin conflict.

    • This reply was modified 3 years, 5 months ago by qctechjunkie.
    • This reply was modified 3 years, 5 months ago by qctechjunkie.
Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Search Results Limit’ is closed to new replies.