ckan / ideas

[DEPRECATED] Use the main CKAN repo Discussions instead:
https://github.com/ckan/ckan/discussions
40 stars 2 forks source link

As a user I would like to know why a search result matched #212

Open jbothma opened 6 years ago

jbothma commented 6 years ago

I'm particularly interested in this for the API - not so much the UI - in the project where I currently use CKAN.

Some ways of showing relevance:

CKAN already does the first. Enabling highlighting in solr and adding that information to the package_search output would support the latter two.

This would be especially useful with https://github.com/stadt-karlsruhe/ckanext-extractor

I'm thinking of doing this in a plugin if we prioritise it in the next few sprints, but it would be nice as core functionality since it's not so nice to override package_search in a plugin.

I'm keen to hear your thoughts on this - if people have opinions on how it should be done, whether they've seen similar demand, etc.

torfsen commented 6 years ago

See also the previous discussion at stadt-karlsruhe/ckanext-extractor#12.

dkelsey commented 6 years ago

I can imagine a button or checkbox that opens a box or pane that reveails the details on the fiels used, what matched, how it was scored.