slow search

This topic contains 27 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years ago.

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • #37334
    jarry23
    jarry23
    Participant

    Hello Ernest,

    I’ve written to you several times, so you have all the information in the email. My email pracedo20atgmail. I have a problem with a search speed that takes 4 seconds or more (you can see the speed in the videos I sent you directly by email). Please have a look on it.

    #37335
    jarry23
    jarry23
    Participant

    I am sending video in attachment. When I use basic woocommerce search, the result takes a maximum of 3 seconds. Tested several times at different times.

    Attachments:
    You must be logged in to view attached files.
    #37337
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you for the details!

    I searched up our previous conversation, and I suggested to not use the elementor live filter to get the best possible performance – because with elementor a new page load has to be rendered to replace the existing results. That is usually slower as the simple ajax request.
    To no use the elementor live filter, make sure to remove the “asp_es_1” class name from the elementor posts widget.

    I also recommend decreasing the live results count to around 50 or less. The “load more” feature will take care of the rest if the user scrolls to the bottom of the list.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37339
    jarry23
    jarry23
    Participant

    Hi,

    I removed the “asp_es_1” class and set 48 results, but it’s still very slow. When I type “svg”, “free svg”, which are the most searched phrases, it takes more than 10 seconds. Also, when I click on the next page in the pagination, it takes the same amount of time around 10 seconds. Other phrases takes around 3 seconds. Which is a bit worse than a basic woocommerce search. Is there anything else that could speed it up?

    Please go to this link https://www.svgheart.com/?s=cat&asp_active=1&p_asid=1&p_asp_data=1&customset%5B%5D=product&asp_gen%5B%5D=excerpt&asp_gen%5B%5D=content&asp_gen%5B%5D=title&filters_initial=1&filters_changed=0&qtranslate_lang=0&woo_currency=USD&current_page_id=30376

    #37340
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you!

    I have applied some of the code from the upcoming release – which targets specific issues with the pagination and the number of results and how they are processed.

    I suspect there was a problem somewhere in the processing unit, where not only the results from the current page were processed, but all of the results set. Typing “svg” or “free svg” yielded over 9k results, and then it triggered the incorrect processing function.

    I ran a few tests, and currently it seems that on both the results page and both on an elementor test page only the actual number of items is processed. Every test I conducted was now around 1.5 seconds, instead of the initial 10 for the “svg” or “free svg” keywords.

    I still strongly recommend using the plugin live search results container instead of the live results or Elementor filtering widgets – that is the best way to quickly display 10-50 results initially. It has the least overhead, almost fully controlled by the plugin only. You can use the more results with infinite scrolling to show more results gradually etc..

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37342
    jarry23
    jarry23
    Participant

    Thank you! Its really a lot faster. Can you point me where is documentation and settings for “live search results container”.

    #37347
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    The live search results show basically when the results page loader and the Elementor widget filtering is disabled, like this one from our demo: https://i.imgur.com/BTXARxZ.png
    It is basically just a container for the plugin to display the results on it’s own. There is either a vertical/horizontal or an isotopic layout available for it, you can switch to it by choosing the overall search theme.
    This container can be moved on the same page via the results shortcode. Another interesting feature is the advanced title and content fields, and the results templating for further customizability.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37374
    jarry23
    jarry23
    Participant

    Alright that’s really super fast. Basically, I can style it to look like a normal results page, if I understand correctly. Awesome plugin and your support as well. Thanks so much you saved me hundereds of bucks when I use your plugin. Thank you!

    #37375
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are welcome 🙂 Yes, sort of like that. You can even “hack” it to be used as the custom results page for searches made via the plugin.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37377
    jarry23
    jarry23
    Participant

    Can you do for me custom modifications?

    #37379
    jarry23
    jarry23
    Participant

    I have issue with load more function. Infinite scroll is enabled, but it does not load any other results.
    Settings https://prnt.sc/UMSHwozxqu5e

    Please check here
    https://www.svgheart.com/search-2-2/

    Should I open another ticket?

    #37384
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It loads, but the pagination is active, try turning it off: https://i.imgur.com/YXmJLoM.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37387
    jarry23
    jarry23
    Participant

    Unfortunately it does not help. I tested all possible ways – only pagination, only load more, and load more with infinite scroll – but all options show max 50 products.
    Can you please look on settings.

    #37388
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure. I have turned off the navigation, then enabled the infinite scroll, cleared the site cache, and it seems to be working all right.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37389
    jarry23
    jarry23
    Participant

    It also works for me when there is no search phrase, but when I search for something, it does not load any. And if possible I need pagination only

Viewing 15 posts - 1 through 15 (of 28 total)

You must be logged in to reply to this topic.