X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/959d888c17d1403d2eeecc19bc4b5e2c8d1debf6..f9f1aa2535d3fae8e35d803ba8c85f8891ec133c:/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]))