Hi all,

I'd like to add a custom metadata field for Communities and Collections. 
Let's say, for example, that I want to store the creation date of the 
Commmunity/Collection in a 'dc.date.issued' field.

So far, I have modified the community and collection forms in the UI to be 
able to set and modify such fields, and it works ok.

However, I'd like to be able to search for Communities and Collections 
based on those custom fields too. E.g., a query like this one:

localhost:8080/server/api/discover/search/objects?query=dc.date.issued:2022&dsoType=COMMUNITY

should return Communities created in 2022.

However, the query returns an empty result. I've seen that Solr is not 
indexing the 'dc.date.issued' field for Communities/Collections, which 
makes me think that that is the root cause for the empty results.

How can I configure the back-end to tell Solr that 'dc.date.issued' should 
be also indexed for Communities/Collections?

I've checked the schema.xml in the Solr config, as well as the 
discovery.xml file, but I'm afraid I'm a bit lost.

Any advice would be appreciated.

Regards,

Abel

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9bc48d1a-081c-47ce-91ec-0485a1074364n%40googlegroups.com.

Reply via email to