Opened 13 years ago

Closed 13 years ago

#687 closed defect (fixed)

Add support to complex language range in keyword search

Reported by: fxp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

Currently, GeoNetwork use 2 letters code and search for keyword in current GUI language. If thesaurus use more complex language range (rfc4647), keyword search return nothing.

Example:

 <skos:Concept rdf:about="http://vocab.nerc.ac.uk/collection/A02/current/Education">
        <dc:identifier>SDN:A02:3:Education</dc:identifier>
        <skos:prefLabel xml:lang="en-GB">Public Education</skos:prefLabel>
        <skos:altLabel/>
        <skos:definition xml:lang="en-GB">Public Education</skos:definition>
        <skos:comment>accepted</skos:comment>
        <dc:date>2011-08-15 11:58:51.0</dc:date>
        <skos:broadMatch
            rdf:resource="http://vocab.nerc.ac.uk/collection/A01/current/Legislation_and_Policy"/>
        <skos:broadMatch rdf:resource="http://vocab.nerc.ac.uk/collection/A03/current/Research"/>
        <skos:broadTransitive
            rdf:resource="http://vocab.nerc.ac.uk/collection/A01/current/Legislation_and_Policy"/>
        <skos:broadTransitive rdf:resource="http://vocab.nerc.ac.uk/collection/A03/current/Research"
        />
    </skos:Concept>

Changes: Use wildcard operator to support more complex language range syntax. Example search for en* will match xml:lang="en-GB"

Change History (1)

comment:1 by fxp, 13 years ago

Resolution: fixed
Status: newclosed

Committed revision 8474.

Note: See TracTickets for help on using tickets.