10up / ElasticPress

A fast and flexible search and query engine for WordPress.
https://elasticpress.io
GNU General Public License v2.0
1.24k stars 312 forks source link

Add support for "non-objects" like taxonomy archives #2676

Open brandwaffle opened 2 years ago

brandwaffle commented 2 years ago

Is your enhancement related to a problem? Please describe.

There are a variety of situations where having taxonomy/archive page results would be useful. This includes things like product attributes, brands, news category pages, etc. that are all commonly searched for. The issue is that these pages aren't actually WP objects. Describe the solution you'd like

Archive results (aka Tag/archive page names) will appear within other search results if matching, and function within dashboard tools like Custom Results.

theMikeD commented 1 year ago

Yes please. Honestly finding it hard to believe this isn't a thing already.

joeprongen commented 1 year ago

Would definitely be an enhancement for us. We would like to use the AutoSuggest for product_cat, products and pages to help the user find anything relating to his search term. The terms are already indexed by the system using the feature "terms". Is there any way that you would describe what have to be done, maybe to create the functionality by hand? Like where to hook into the javascript request object and where to eventually alter the result object to support not only "objects / post types" but also "terms". Any help would be helpful, we can share our solution to this board for people needing this fix, before it wil maybe eventually hit your roadmap. Thanks in advance.

blockfer-rp commented 1 year ago

I cant believe this is a low priority feature, Archive pages for tags and categories are many sites main anchor pages. How could we just simply ignore them in the research results.

jonoalderson commented 2 months ago

Would love this, for feature parity with Relevanssi (which I'd like to move away from).