• Hot
  • Top
  • New
3
votes

You have ... votes left in this category for this week!

approved

Allow searching of tags, categories and everything else in wp_terms

I’ve had a request to allow Super Speedy Search to search wp_terms and wp_termmeta.

This would be to search Product categories, subcategories, tags and attributes – the plugin would still be searching for ‘posts/products’ (whatever custom post type) but would bring back more items that match these tags, attributes and categories.

Some work is required in order to integrate these properly into the search results. i.e. currently, search results have a ‘relevancy score’ which is v useful to show most relevant items at the top.

What I’m proposing to add is to merge any products which have tags, attributes, categories that fuzzy match the search string – if these are new products, add them in with a score of 0.5, if they already exist, add 0.5 to their current score. This will need to be tweaked until it’s working well.