o19s / quepid

Improve your Elasticsearch, OpenSearch, Solr, Vectara, Algolia and Custom Search search quality.
http://www.quepid.com
Apache License 2.0
284 stars 101 forks source link

A "redirect" from Querqy never shows up as a ratable document... SHouldn't it? #598

Open epugh opened 1 year ago

epugh commented 1 year ago

Is your feature request related to a problem? Please describe. I have a redirect that is now returning "the perfect match", but splainer never takes my redirect and makes it a "document", so I can't rate it perfect.

image

Describe the solution you'd like Make a redirect from Querqy be a top of the list doc, pushing all the other ones down.

Describe alternatives you've considered Should we even return other docs if a REDIRECT is returned? The user will never see them......

Additional context Add any other context or screenshots about the feature request here.

mkr commented 1 year ago

Depends on how much Querqy-specific functionality we want to support. Querqy decorations in general are extensible and can contain different information. A good compromise could be to still display the results in presence of Querqy decorations but in addition show the decorations above the search results. The decorations can be anything (array of strings or embedded object). A simple implementation would be to just show each entry in the querqy_decorations array stringified.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please do advocate for this issue and ideally submit a patch to get the attention of the maintainers!

epugh commented 3 weeks ago

We actually added an icon for any queries that trigger a Querqy rule in https://github.com/o19s/quepid/pull/1053.

This doesn't impact the scoring however, that would still need to be smarter...