ckan / ckanext-scheming

Easy, shareable custom CKAN schemas
Other
86 stars 163 forks source link

Provide a new plugin for indexing repeating subfields #414

Open amercader opened 5 months ago

amercader commented 5 months ago

The scheming_subfields_index plugin will group the values of the same subfields in a text field that will make the values findable. They are indexed as extras_{field_name}__{key}. extras_* is a dynamic text Solr field that will allow free-text search on these values.

Added tests and updated the docs.

@wardi let me know what do you think and if you want to keep the scheming_nerf_index plugin or remove it in favour of this one.

Note: the test failure is a Python 2 one, support for which is removed in https://github.com/ckan/ckanext-scheming/pull/413