[graph indexing] expand the instance level fulltext in the XML records #326

Merged
claudio.atzori merged 1 commits from instance_fulltext_xml into beta 2023-07-27 15:02:08 +02:00

This PR introduces the serialization int he XML records stored in Solr of the instance level fulltext element.

Here is an example:

<?xml version="1.0" encoding="UTF-8"?>
<record>
    <result xmlns:dri="http://www.driver-repository.eu/namespace/dri"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <header>
            <dri:objIdentifier>CSC_________::0000ec4dd9df012feaafa77e71a0fb4c</dri:objIdentifier>
            <dri:dateOfCollection>2020-01-27T11:32:33.729Z</dri:dateOfCollection>
            <dri:dateOfTransformation>2020-01-27T12:03:59.662Z</dri:dateOfTransformation>
        </header>
        <metadata>
            <oaf:entity xmlns:oaf="http://namespace.openaire.eu/oaf"
                xsi:schemaLocation="http://namespace.openaire.eu/oaf https://www.openaire.eu/schema/1.0/oaf-1.0.xsd">
                <oaf:result>
                    [...]
                    <fulltext>https://osf.io/preprints/socarxiv/7vgtu/download</fulltext>
                    [...]
                    <children>
                        <instance>
                            [...]
                            <fulltext>https://osf.io/preprints/socarxiv/7vgtu/download</fulltext>
                        </instance>
                    </children>
                </oaf:result>

            </oaf:entity>
        </metadata>
    </result>
</record>

This PR introduces the serialization int he XML records stored in Solr of the instance level fulltext element. Here is an example: ```xml <?xml version="1.0" encoding="UTF-8"?> <record> <result xmlns:dri="http://www.driver-repository.eu/namespace/dri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <header> <dri:objIdentifier>CSC_________::0000ec4dd9df012feaafa77e71a0fb4c</dri:objIdentifier> <dri:dateOfCollection>2020-01-27T11:32:33.729Z</dri:dateOfCollection> <dri:dateOfTransformation>2020-01-27T12:03:59.662Z</dri:dateOfTransformation> </header> <metadata> <oaf:entity xmlns:oaf="http://namespace.openaire.eu/oaf" xsi:schemaLocation="http://namespace.openaire.eu/oaf https://www.openaire.eu/schema/1.0/oaf-1.0.xsd"> <oaf:result> [...] <fulltext>https://osf.io/preprints/socarxiv/7vgtu/download</fulltext> [...] <children> <instance> [...] <fulltext>https://osf.io/preprints/socarxiv/7vgtu/download</fulltext> </instance> </children> </oaf:result> </oaf:entity> </metadata> </result> </record> ```
claudio.atzori added 1 commit 2023-07-27 15:01:48 +02:00
claudio.atzori merged commit 1275a07d45 into beta 2023-07-27 15:02:08 +02:00
claudio.atzori deleted branch instance_fulltext_xml 2023-07-27 15:02:08 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#326
No description provided.