Skip to content
  • Hot
  • Top
  • New
3
votes

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

completed

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.

 

2 Comments

  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

  2. Dave H.
    June 24, 2020 @ 3:15 pm

    This has been implemented

    Reply

Leave a Reply

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