fix the metadata search in geonetwork
remove unused method