Search inconsistant and not smart

This topic contains 11 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #381151

    BL Interactive
    Expired Member
    Post count: 83

    I have a member that rents bikes. (the rental shack)

    bike Rental shows the business: Example

    bike rentals (plural) does not. even though the word rentals is in the info of the business: Example

    Thought WordPress search shows for bicycle rental/s, but not bike rental/s

    The business has tags of:
    bicycle
    bike
    boats
    kayak
    pontoon
    rental
    rentals
    ski

    And categories of:
    Recreational Business
    Bicycle Sales / Service / Rental
    Boat & Motor Sales / Service / Rental
    Canoe & Kayak Trips / Rentals
    Silent Sports
    water

    Search should be smarter than this all around

    I have tried it with Individual word search limit enabled and disabled

    This is happening with more members, this is just the cleanest example.

    #381184

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I asked to Stiofan to have a look at your question and follow up.

    He’s working to improve search right now, so please provide admin credentials so that he can check your data.

    He’ll reply after the week end though, cause he’ll be off till Sunday.

    Thanks

    #381194

    BL Interactive
    Expired Member
    Post count: 83
    This reply has been marked as private.
    #381690

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Doing a search for plural to singular in SQL is very difficult, there is no one way that solves the problem, there are a few hackish ways to do it but they are no efficient for big directories, you will see sites like yelp will add a sort of tag “Bike Rentals” to most of this type of listings, i think in this case it when the listing is not using the plural in the name then a plural should be used as a tag.

    I am open to discussion if you think you find a site that does it better.

    Thanks,

    Stiofan

    #382360

    BL Interactive
    Expired Member
    Post count: 83

    My point is that there are tags and words in the description for both rental and rentals but a search for bike rentals doesn’t display this business.

    #382372

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I take it you mean “THE RENTAL SHACK” listing? This listing has no word “bike” and no word “rentals” in the title..

    Below is a example SQL query, we check many things but non of the criteria are met, let me know what else you think we should check and i will tell you why we don’t.

    AND ( ( wp_posts.post_title LIKE “bike rentals”
    OR ( wp_posts.post_title LIKE “bike”
    OR wp_posts.post_title LIKE “bike%”
    OR wp_posts.post_title LIKE “% bike%” )
    OR ( wp_posts.post_title LIKE “rentals”
    OR wp_posts.post_title LIKE “rentals%”
    OR wp_posts.post_title LIKE “% rentals%” ))
    OR (wp_posts.post_content LIKE “bike rentals”
    OR wp_posts.post_content LIKE “bike rentals%”
    OR wp_posts.post_content LIKE “% bike rentals%”
    OR wp_posts.post_content LIKE “%>bike rentals%”
    OR wp_posts.post_content LIKE “% bike rentals%”)

    OR (wp_terms.name LIKE “bike rentals”
    OR wp_terms.name LIKE “bike rentals%”
    OR wp_terms.name LIKE “% bike rentals%”
    OR wp_terms.name IN (“bike rentals”)) ) ) )

    Thanks,

    Stiofan

    #382400

    BL Interactive
    Expired Member
    Post count: 83

    Does search not include the tags?

    #382440

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    “wp_terms” are both categories and tags.

    OR (wp_terms.name LIKE “bike rentals”
    OR wp_terms.name LIKE “bike rentals%”
    OR wp_terms.name LIKE “% bike rentals%”
    OR wp_terms.name IN (“bike rentals”)) ) ) )

    Stiofan

    #384201

    BL Interactive
    Expired Member
    Post count: 83

    If you look at my original post, the listing has rentals as a tag. so Why does it not show up?

    #384235

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Because it does not split the search term, it only does that for the title, the search for term is exact or begins or ends with (as below) You should give it a tag of “bike rentals”

    OR (wp_terms.name LIKE “bike rentals”
    OR wp_terms.name LIKE “bike rentals%”
    OR wp_terms.name LIKE “% bike rentals%”
    OR wp_terms.name IN (“bike rentals”)) ) ) )

    Stiofan

    #384237

    BL Interactive
    Expired Member
    Post count: 83

    So, having the tags “bicycle” and “rentals” AND having the description as “Pontoon boat, ski boat, bicycle, canoe and kayak rentals delivered to all area lakes and trails. No delivery charge for multiple day rentals. Home of the hassle free rental” is not enough to show up for “bicycle rentals” even though both words are as tags and in the description.

    That is pretty unacceptable search. Can this be addressed?

    #384250

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I would say that is very correct, if you are searching “bike rentals” bike and bicycle are different words, we know they are the same but a SQL database does not. SO if you were then to just search “rentals” you might return car rentals, suite rentals etc which have no relevance.

    Stiofan

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