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-
AuthorPosts
-
June 1, 2017 at 4:41 pm #381151
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
skiAnd categories of:
Recreational Business
Bicycle Sales / Service / Rental
Boat & Motor Sales / Service / Rental
Canoe & Kayak Trips / Rentals
Silent Sports
waterSearch 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.
June 1, 2017 at 7:47 pm #381184Hi,
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
June 1, 2017 at 8:28 pm #381194This reply has been marked as private.June 5, 2017 at 12:01 pm #381690Doing 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
June 8, 2017 at 3:35 pm #382360My 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.
June 8, 2017 at 4:11 pm #382372I 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
June 8, 2017 at 9:16 pm #382400Does search not include the tags?
June 9, 2017 at 10:32 am #382440“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
June 21, 2017 at 1:57 pm #384201If you look at my original post, the listing has rentals as a tag. so Why does it not show up?
June 21, 2017 at 4:12 pm #384235Because 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
June 21, 2017 at 4:30 pm #384237So, 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?
June 21, 2017 at 6:56 pm #384250I 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
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket