Opened 12 years ago

#928 new defect

Search for UUID in advanced search broken

Reported by: heikki Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version:
Keywords: uuid search Cc:

Description

Mathieu Villemont reports:

So it seems the fileId is correctly indexed and Luke returns matching results with the following query:

OK: fileId:urn\:x-wmo\:md\:int.wmo.wis\:\:CSTH01VTBB

KO: fileId:urn:x-wmo:md:int.wmo.wis::CSTH01VTBB

However when I send fileId:urn\:x-wmo\:md\:int.wmo.wis\:\:CSTH01VTBB or fileId:urn:x-wmo:md:int.wmo.wis::CSTH01VTBB to GeoNetwork it gives me back all the data from my database.

The request in geonetwork.log looks like that:

<request>

<dynamic>off</dynamic> <fileId>fileId:urn\:x-wmo\:md\:int.wmo.wis\:\:FPTH20VTBB</fileId> <sortBy>relevance</sortBy> <paper>off</paper> <similarity>.8</similarity> <download>off</download> <output>full</output> <hitsPerPage>10</hitsPerPage> <digital>off</digital>

</request>

It seems there is no fileId parameter in the Lucene query:

owner: null group: 1 isReviewer: false isUserAdmin: false isAdmin: false similarity: .8 uuid: null harvestUuid: null any: null all: null or: null without: null phrase: null download: off dynamic: off protocol: null featured: null template: null dateTo: null dateFrom: null revisionDateTo: null revisionDateFrom: null publicationDateTo: null publicationDateFrom: null creationDateTo: null creationDateFrom: null extTo: null extFrom: null metadataStandardName: null_schema: null parentUuid: null operatesOn: null serviceType: null type: null inspire: null inspireAnnex: null siteId: null digital: off paper: off title: null abstract: null eastBL: null westBL: null northBL: null southBL: nullrelation: overlaps

Change History (0)

Note: See TracTickets for help on using tickets.