[Zope-CVS] CVS: Products/ZCTextIndex/tests - mailtest.py:1.12
Tim Peters
tim.one@comcast.net
Wed, 22 May 2002 23:49:04 -0400
Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv10100/tests
Modified Files:
mailtest.py
Log Message:
Looks like we have to tell ZCTextIndex which kind of index now.
=== Products/ZCTextIndex/tests/mailtest.py 1.11 => 1.12 ===
extra.lexicon_id = 'lexicon'
extra.doc_attr = 'text'
+ extra.index_type = 'Okapi BM25 Rank'
caller = Extra()
caller.lexicon = lexicon
rt["index"] = idx = ZCTextIndex("index", extra, caller)