Improve Text Search Results GH2835/2836/2913(590)
Refine the the text search results for all of the faceted searches including site search. Using threes words (W1, W2, W3) as an example, by rank ordering results in this order:
1. Phrase – W1 and W2 and W3 in that order
2. Contains all three words in any order
3. Contains W1 and W2
4. Contains W1 and W3
5. Contains W2 and W3
6. Contains W1 only
7. Contains W2 only
8. Contains W3 only
Include some fuzziness in search (e.g. Ben give results for Ben and Benjamin).
Consider weighting content types (e.g. Books above events).
We missed indexing text from the Page content type, so we added that. The removed the Image content type so images will not dwarf other types of content. We determined that that the search ranking was working as desired and described here.
We’ll tackle integrating fuzziness and spelling/typos into another suggestion/project or two.
If you find that a search result you expect is not as high in the search results as you think it should be, please send an email to info @mountaineers.org with:
(1) URL from the search
(2) URL from the item that you think should be ranked higher in the search
(3) why you think this item should be ranked higher
Webster Chang commented
In search, are we able to give Books higher result priority over Events? Often, the amount of events we have now push the actual product page way down, especially if people search for the book after attending the event.
Doug pointed out that there's only one book, but often multiple events, so a book can't push events down the same way events do now.
1. If a user-entered search term is one of our item types can we rank that higher in the search results (e.g "day hiking books" where "Book" is the item type)? Could we define item type aliases as search terms (e.g. Book = book, books, guidebook, guidebooks, etc.)?
2. How do we/can we handle typos in user-entered search terms? Like Google's "Did you mean..." when the user misspells a word in their search (e.g "hikng books" and they meant "hiking books")?