X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/e9f249dc773d6b5b9648310e7bfcc5a2d3cbb330..4e31549f317ab0f4816129265d6dde20626fc416:/catalog.py diff --git a/catalog.py b/catalog.py index 382fc57..365544a 100644 --- a/catalog.py +++ b/catalog.py @@ -11,6 +11,13 @@ from Products.ZCatalog.Catalog import Catalog import transaction from solr import * +# imports for Catalog class +from Products.PluginIndexes.interfaces import ILimitedResultIndex +from Products.ZCatalog.Lazy import LazyMap, LazyCat, LazyValues +from BTrees.IIBTree import intersection, IISet +from BTrees.IIBTree import weightedIntersection +import warnings + class SolrTransactionHook : ''' commit solr couplé sur le commit de la ZODB ''' def __init__(self, connection) :