'CSW search wrapper'

def search(self, keywords, startposition, maxrecords, bbox):

    formats = []
    for f in self.formats:
        formats.append(METADATA_FORMATS[f][0])
    return self.getrecords(typenames='    '.join(formats), keywords=keywords, startposition=startposition, maxrecords=maxrecords, bbox=bbox, outputschema='http://www.isotc211.org/2005/gmd', esn='full')
