Open sfisher opened 1 month ago
Jing and I looked into the code and it's confirmed that I need to add searchable_resource_type which is some character code which I believe can be derived from the identifier and kernel metadata (metadata) which is a parsed field from json and may be datacite.xml in json or something else. There are methods to handle it all in there somewhere.
OpenSearch UI doesn't search for "object type" correctly.
It's hard to determine with our subset of data since a lot of things don't have it, but you can add items manually after looking at the development (running off the database).
Add items you know should show up in opensearch like:
Some IDs that should have resource types are these:
I see
resource.type
as something like "image" but I think the search may need 'searchable_resource_type` which appears in the search table.