Search for exact term

This topic contains 5 replies, has 3 voices, and was last updated by  Anna 5 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #473248

    Anna
    Full Member
    Post count: 70

    Hi there

    Is there a way to force the search function to only display search results for the exact term that has been entered?

    For example if I want to make a search for ‘bus’ (this directory includes listings for ‘bus hire’ and ‘bus charter’) I get every listing with ‘bus’ contained within the listing name or body text (e.g. ‘business’) making the majority of the search results not relevant.

    Cheers
    Matt

    #473249

    Anna
    Full Member
    Post count: 70
    This reply has been marked as private.
    #473370

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    We have added a task to work on this for exact text within quotes in titles and descriptions. Currently we have that for tags and categories. This will be released with an upcoming version, probably later this month.

    #475669

    Anna
    Full Member
    Post count: 70

    Thanks Alex. Will there be (or is there) a way to force this as the default so a user doesn’t need to use quotes?
    Cheers
    Matt

    #475742

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Matt,

    I think what you want might be in this setting:
    GD>General>Search>ADVANCED>Individual word search limit (set this to 3)

    Search gives “points” to listings so if it has the word in the title it gets more points etc, so we are always getting results.

    Stiofan

    #475840

    Anna
    Full Member
    Post count: 70

    Thanks Stiofan, I see how that helps with relevance of results – nice.

    What I’m wanting though is for site visitors to be able to search for bus and they not get every listing that includes the word business (in title or body). Just listings that contain the single word bus. Is this possible?

    Thanks!
    M

Viewing 6 posts - 1 through 6 (of 6 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