Using quotes to improve search
-
I am also looking to improve search results. We have products that have terms such as “12 for 10” and “12 for 11” in their titles but these results when searched with or without quotes either are not returned or are far down the list. We have even disabled description and short description search to try to improve things but nothing seems to work.
You had a similar request from Steplab a month back and provided some code to try to improve things but there is an error in the code reported as being in the line below
if ( $term && in_array( substr( $term , 0, 6 ), array( ''', '"' ) ) && in_array( substr( $term , -6 ), array( ''', '"' ) ) ) {
maybe you could check and fix the code provided so we can try it?
It would be very helpful to add functionality for phrase search using quotes!
Also when trying to change the Search placeholder text and using quotes in the text to show – the quotes are preceded with / – any way to avoid that?
The page I need help with: [log in to see the link]
- The topic ‘Using quotes to improve search’ is closed to new replies.