Strip non-alpha/numeric characters from search criteria

This topic contains 10 replies, has 4 voices, and was last updated by  Alex Rollin 6 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #449125

    Shane
    Buyer
    Post count: 149

    Hi there,

    Just a quick query to see if it can be implemented that non-alpha/numeric characters can be stripped from search?

    Basically, I have some listings that say (for example)
    Shane’s Place
    others
    Shanes Place (no apostrophe).

    It would be very useful and less complicated if GD could show results for both as it currently sees these as two different search terms.

    No need to go beyond the most common non-alpha/numeric characters like apostrophes and hyphens.

    Any thoughts?

    Thanks

    Shane

    #449146

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I will flag your question for the developers in case they have a workaround for that.

    #449245

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Shane,

    This has been asked a few times, and the answer is not easy.
    If the place is called “Shane’s” place and we strip those characters then it will 100% not find it as the query will be looking to match it with the apostrophe.

    I always recommend that if a listing has an apostrophe that u add a tag with the name without it.

    This problem is compounded by apple a few months ago when they decided to change the type of apostrophe they use on their keyboard, so even if u try to search with one it still won’t find it as its a different type of apostrophe.

    If i knew of a solution that would work for everyone then i would implement it.

    Thanks,

    Stiofan

    #449326

    Nick Gardener
    Expired Member
    Post count: 101
    #449394

    Shane
    Buyer
    Post count: 149

    Thanks for your explanation Stiofan.

    I had not thought of using tags to address this issue as I assumed the search only looked at place names as entered.

    I take it that it does search tags as well?

    Thanks again

    Shane

    #449405

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, title, description, categories and tags are all searched and weighted.

    #449456

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    @nick, i don’t see any issue with ur link, if you have a different problem please open a new topic.

    Thanks,

    Stiofan

    #449553

    Shane
    Buyer
    Post count: 149

    Hi Alex,

    Just a quick question.

    I have added the tags and they are displaying in the search autocomplete, however, when I click them they are not searching like the actual Place Names do,ie.,

    Shane’s Place >> (Place – searchable)
    Alex’s Place >> (Place – searchable)
    Stiofan’s Place >> (Place – searchable)
    Shanes Place (Tag – Not searchable)

    What am I missing?
    Thankss again.

    #449555

    Alex Rollin
    Moderator
    Post count: 27815

    URL?

    #449557

    Shane
    Buyer
    Post count: 149
    This reply has been marked as private.
    #449570

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount