For anyone interested, see more about this topic
here: https://groups.google.com/g/dspace-devel/c/3L9WiAtKagw
Johannes Schultze schrieb am Donnerstag, 23. März 2023 um 08:15:41 UTC+1:
> Hello everyone,
>
> I'm still trying to see clearly if this is an issue with DSpace or DSpace
> CRIS - but maybe we are just stuck with some configuration, so I will try
> to describe this in a general way.
>
> We set up new DSpace (CRIS) 7 installations and configured the entity
> model. After that some relations between items were set up. When we now
> view the item page, the search results on the bottom of the page return no
> result although the relations exists. So for example:
>
>
>
> (We added a temporary list on top ("Publikationen") to check the existing
> relations, although they are based on "isPublicationOfAuthor" not on
> "isAuthorOfPublication" as the empty search results below).
>
> The search result tab configuration is not changed (and should be the same
> in DSpace and DSpace CRIS):
>
> <ds-tabbed-related-entities-search [item]="object"
> [relationTypes]="[{ label:
> 'isAuthorOfPublication', filter:
> 'isAuthorOfPublication', configuration:
> 'default-relationships'
> }]"></ds-tabbed-related-entities-search>
>
>
> The problem with the search seems to be, that the resulting search
> requests towards the Solr look for the index field "isAuthorOfPublication",
> but the relations are indexed in a field called
> "relation.isAuthorOfPublication".
>
> If we try to change the tab configuration to the "correct" field ...
>
> <ds-tabbed-related-entities-search [item]="object"
> [relationTypes]="[{ label:
> 'isAuthorOfPublication', filter:
> 'relation.isAuthorOfPublication',
> configuration: 'default-relationships'
> }]"></ds-tabbed-related-entities-search>
>
>
> ... we of course get an error from DSpace, as there is only a filter
> configuration for the indexFieldName "isAuthorOfPublication" (->
> "searchFilterIsAuthorOfPublicationRelation") but not for
> "relation.isAuthorOfPublication" in [dspace]/config/spring/api/discovery.xml
>
> Assuming that the DSpace backend would add another "relation."-prefix if
> we configured a new filter for "relation.isAuthorOfPublication", we did not
> try that.
>
> So, the final question: is there a general mismatch between the DSpace
> backend automatically adding "relation." to the index field and the Solr
> queries from the frontend not including this prefix - or are we just
> missing some configuration in one of the two components?
>
> Regards
> Johannes
>
>
> --
> Dipl. Inf. Johannes Schultze
> Gesellschafter / Entwicklung
>
> Tel. +49 40 60940857-5
> Fax. +49 40 [email protected]
> effective WEBWORK GmbH
> Neuer Wall 18
> 20354 Hamburghttp://www.effective-webwork.de
>
> GF Dr. Matthias Finck
> HRB 101108 (Hamburg)
> UStId DE254169943
>
>
--
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/a18adf96-ff84-42bf-9cd4-9f19eb4c5c7cn%40googlegroups.com.