GetDKAN / dkan2

Deprecated: please use the 2.x branch of the dkan repo
https://github.com/GetDKAN/dkan
GNU General Public License v2.0
18 stars 16 forks source link

Add additional field options for indexing #347

Closed janette closed 4 years ago

janette commented 4 years ago

This branch should work with https://github.com/GetDKAN/data-catalog-frontend/pull/16 Related ticket: https://github.com/getdkan/dkan2/issues/344

QA Steps

  1. Confirm you can add additional schema fields like publisher.name and distribution.title to the search index /admin/config/search/search-api/index/dkan/fields
dafeder commented 4 years ago

Found an issue - tried to add accessLevel and got this error:

image

janette commented 4 years ago

@dafeder if you change the machine name to be all lower case it will work

dafeder commented 4 years ago

OK - I think we should make another ticket to make that happen automatically.

Last question - why the changes to the schema?

janette commented 4 years ago

the getProperty functions don't follow the $ref, they just quit there and return nothing.