• 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

Dave Hilditch shared this feature

March 6, 2018

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.

 

1 Comment

  1. Paul Aswad
    March 7, 2018 @ 8:31 pm

    Hi Dave! Really good feature! If we can also have the option to chose which attributes are searchable etc… For example, my current client sells ink and toner for printers. In the attributes, he has the printers that these cartridges go into. Also has page count. Who cares about page count, no one searches using that, but the compatible printers, these will be searched for. I’m not sure if having less attributes being searched will also speed things up a bit compared to searching everything.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.