[GeoNetwork-devel] [GeoNetwork opensource Developer website] #928: Search for UUID in advanced search broken

#928: Search for UUID in advanced search broken
-------------------------+--------------------------------------------------
Reporter: heikki | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version:
Keywords: uuid search |
-------------------------+--------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/928&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.