Think you,
I was resolving,you know  how...
I must create under 5 five items...


Le ven. 31 mai 2024, 15:16, DSpace Technical Support <
[email protected]> a écrit :

> Hi Abel,
>
> While I don't know the exact answer here (off the top of my head), here's
> the steps that I'd recommend taking to find the solution.
>
> First, you should check Solr itself (via http://localhost:8983/solr/ if
> it's running on standard ports on your localhost).  Check the "search" core
> and search for a Community to see if the "dc.date.issued" field is indexed
> into Solr.
>
> If it is not, then you could try reindexing your site to see if that makes
> a difference (`dspace index-discovery -b`).
>
> You also can reference the DSpace Discovery documentation
> <https://wiki.lyrasis.org/display/DSDOC7x/Discovery> , especially the
> settings in discovery.xml to see if something new needs to be added to the
> Community/Collection settings there.  However, since "dc.date.issued" is a
> standard field in DSpace, I *think* it's already configured in
> discovery.xml to be indexed by default.  (Hopefully someone else on this
> list can correct me if I'm wrong.)     Basically, though, this
> discovery.xml file is the settings for what fields should be indexed &
> which are available as facets/filters in Solr.
>
> Tim
>
> On Thursday, May 23, 2024 at 11:07:20 AM UTC-5 [email protected] wrote:
>
>> 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/fe08c14d-c528-4ecf-8773-d327127aca94n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/fe08c14d-c528-4ecf-8773-d327127aca94n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOQGKUMnn1%3DrfDWX2-2rXfw-Tjy2t4CK5Ad_bHFwCUpXc6Ea6g%40mail.gmail.com.

Reply via email to