Search part of word

This topic contains 4 replies, has 3 voices, and was last updated by  Jorge Dändliker 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #385435

    Jorge Dändliker
    Buyer
    Post count: 150

    Hi
    I wonder if it is possible somehow to search for a part of a word. Example: I have some events with a title or description “Wanderrally”. I thought if I search “rally” then I will get results containing the word “Rally” as well as “Wanderrally” or for example “Rallybla…”. Of course, the autocomplete function shows all entries but if I don’t choose one of the proposals and click on the search button instead, I don’t get the events which don’t contain exactly (and only) “rally”.

    I will send you an example and my login credentials with the next answer.

    #385437

    Jorge Dändliker
    Buyer
    Post count: 150
    This reply has been marked as private.
    #385532

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jorge,

    We found searching for the end of words was giving to many fals positives, we only search for
    ( wp_posts.post_title LIKE ‘rally’
    OR wp_posts.post_title LIKE ‘rally%’
    OR wp_posts.post_title LIKE ‘% rally%’

    The autocomplete should not really search for that either,
    I’ll discuss with paolo to see what we want to change.

    Thanks,

    Stiofan

    #385566

    Paolo
    Site Admin
    Post count: 31206

    I had a look around and most search forms will not search in the last portion of a word.

    I think we’ll have to keep it that way, because doing it differently brings strange results as Stiofan already said.

    Thanks

    #385831

    Jorge Dändliker
    Buyer
    Post count: 150

    Hi Paolo

    Ok, then I guess everything works as it should 🙂

    Many thanks for the clarification!

    Regards
    Jorge

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket