X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/959d888c17d1403d2eeecc19bc4b5e2c8d1debf6..a30079816469564a8471ea6f03942129c07ead9b:/Products/Plinn/catalog.py diff --git a/Products/Plinn/catalog.py b/Products/Plinn/catalog.py index 7e49083..d9e78a3 100644 --- a/Products/Plinn/catalog.py +++ b/Products/Plinn/catalog.py @@ -160,7 +160,7 @@ class DelegatedCatalog(Catalog) : try : plan.remove(i) except ValueError : pass c = SolrConnection(self.zcat.solr_url) - q =' AND '.join(['%s:"%s"' % item for item in delegatedQuery.items()]) + q =' AND '.join(['%s:(%s)' % item for item in delegatedQuery.items()]) resp = c.query(q, fields='id', rows=len(self)) c.close() return IISet(filter(None, [self.uids.get(r['id']) for r in resp.results]))