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

EMPTY SEARCH BAR FUNCTION

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38669
    Anonymous
    Inactive

    When the search bar is empty, all 1500 items are offered to be shown which is important for us to avoid.

    Is there any way not to show anything when the search bar is empty?

    #38687
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Yes, of course. Change the number of characters to trigger the search to 1 or more here. That will do the trick.

    #38704
    Anonymous
    Inactive

    Thank you for your kind response.

    I’m also trying to have the results appear “in the order of best match”.

    For example: Currently, when i enter ABC, result shows someting with AB in the first place and it follows with the second item that starts with BF (not sure why) and i find the ABC in the 6th place.

    Kindly inform the setting that will show ABC in the first place and AB as second.

    Thanks & Regards

    #38716
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Phrase “ABC” will never match something like “AB” or “BF” – that is not possible, the phrase must be contained somewhere (at least partially), but not the other way around (like the content words match the phrase partially). The match is somewhere else, like in a taxonomy term, custom field etc.. It can be a partial/fuzzy match too.

    By default the results are ordered by the relevance, make sure to check that here. Then, you can try experimenting with more restrictive search logics. I also recommend using the index table engine for the best possible relevance matches.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.