WordPress.org

Forums

Events Manager
[resolved] Question about text search from search form (4 posts)

  1. johnwai
    Member
    Posted 10 months ago #

    Hi,

    I hope you can give me any pointer on where to look into this problem I had. Thanks in advance.

    Example of this is using your demo on search event named "Gatlin Brothers"

    If I search for "gatlin", it return result.
    If I search for "gat", it return result.
    If I search for "lin", it return result.
    If I search for "gat lin", no result.

    So I break the word to two string, the search won't pick it up but if it will pick up by the default WP search for post type.

    Thanks.

    https://wordpress.org/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Hi,

    With all of the searches, it's looking for a full or part match of the phrase. For example, "gatlin" is part of "Gatlin Brothers", so is "gat", and so on.

    But "gat lin" is not part of "Gatlin Brothers" because there is no exact phrase like "gat lin" within "Gatlin Brothers".

  3. johnwai
    Member
    Posted 10 months ago #

    Thanks for the explanation!

    Just curious to understand this because it seems like the default WP search will get the result (eg ?s=gat+lin) compare to this plugin search so it must be using different search engine?

    Cheers.

  4. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Not sure to be honest, but it's possible the WP script is ignoring the space if there are no results found with the space.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.