This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Ajax Search Nav Error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18522
    SwiftsDavidSwiftsDavid
    Participant

    {removed for security}

    Hi Guys,

    I am having issues trying to get the Ajax Search Nav working.

    I have the latest version installed – Version 4.13.1

    I have created a basic default search nav [wd_asp id=1] . I’ve added the Products, Posts, Pages into the Search in custom post types.

    Doing a test run on my Demo Ajax Search Nav and nothing happens on the search when I type in a product etc? It just spins and times out?

    Can you help me with this issue please.

    I fully deleted and re-installed the plugin. It didn’t fix it.

    I have looked at the wp-content\plugins\ajax-search-pro\includes\classes\search\class-asp-query.php

    I Scroll to line 384.

    I don’t see any record of the line if ( class_exists( ‘WooCommerce’ ) ) {

    I’m not sure what else to do?

    Can you view my Ajax Search Nav and see the problem and let me know if there is anything I can do to fix please? – https://swiftsupplies.com/admin-test-page-only/

    Kind Regards,

    David.

    #18549
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi David,

    The issue was, that you had over 32 000 products, with a lot of content to search for (over 3 million words). The server was not able to handle the query, because of the size of the database.

    Since you added back-end access, I have made a few major improvements:
    – I have enabled the Index Table engine, which is specifically made for big databases like yours. It indexed 3.2 million words.
    – I have changed the search logic to a much more strict one, that goes well with your number of products: https://i.imgur.com/tZuUlfP.png
    – I have also enabled the custom ajax handler option, which improves the search performance by a lot

    The search should respond now almost instantenously, or within a few seconds at worst.

    #18593
    SwiftsDavidSwiftsDavid
    Participant

    Hi Ernest,

    Thank you so much for the reply and info.

    Very much appreciated my friend.

    I have since integrated the Ajax Search Nav back into the header of the website and all looks good.

    Thank you again for your support.

    Have a great evening.

    Kind regards,

    David.

    #18594
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Ajax Search Nav Error’ is closed to new replies.