• Hello Scott,

    Loving your widget! I’ve run into some trouble with our search suggestions populating. When clicking on the Quick Search & Suggestion box, the drop-down list of suggestions does not pop up on the first click. After a second click the suggestion box pops up, however, there is a slight delay before this occurs. This problem is prevalent on both search boxes (we have two on our homepage). Our main concern is just the consistency when users attempt to search.

    Our webpage is as follows: https://ecosystem.blacktechmecca.org/

    Please let me know of any solutions to this small problem. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter armaniroy

    (@armaniroy)

    Update: The suggestion menu is consistent when clicking out of the search box and then clicking back in. The problem is the fact that the suggestion menu only pops up after giving the search box a second click.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    The suggestions are set to only appear after two characters have been typed so I find it strange that suggestions are appearing when the box is empty. There seems to be a general lag in showing the search results which makes the interaction feel a little poor. Not sure what is causing that completely. I can see the server does take a second or more at times to return results, which is quite slow and might be a good place to start looking for optimisations.

    strandcreative

    (@strandcreative)

    Hi,

    Not sure if my question relates to this but here goes…

    Is there any way I can speed up the auto suggestions without looking into hosting.
    I have a dedicated server costing me around $100 dollars a month so was wondering if it’s possible to cache the ajax results using a plugin such as W3TC or Batcache/memcache?

    Thanks

    (Great plugin btw!)

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    @strandcreative – I think caching is a very good idea. I did try to implement some: https://github.com/scottsweb/instant-search-suggest/blob/master/assets/inc/iss-ajax.php#L62 but I feel there are probably many more improvements to be had. Querying all post types, taxonomies, posts is expensive.

    If you wish to do some work on it I will happily accept a pull request or two ??

    https://github.com/scottsweb/instant-search-suggest/

    strandcreative

    (@strandcreative)

    Excellent ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suggestion Delay’ is closed to new replies.