projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e9f249d
)
Ajout des imports nécessaires au fonctionnement de la méthode search.
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 24 Jun 2014 08:53:07 +0000
(10:53 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 24 Jun 2014 08:53:07 +0000
(10:53 +0200)
catalog.py
patch
|
blob
|
history
diff --git
a/catalog.py
b/catalog.py
index
382fc57
..
365544a
100644
(file)
--- a/
catalog.py
+++ b/
catalog.py
@@
-11,6
+11,13
@@
from Products.ZCatalog.Catalog import Catalog
import transaction
from solr import *
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) :
class SolrTransactionHook :
''' commit solr couplé sur le commit de la ZODB '''
def __init__(self, connection) :