Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Looks like we have to tell ZCTextIndex which kind of index now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Peters committed May 23, 2002
1 parent 4b55e62 commit 5a51ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/mailtest.py
Expand Up @@ -83,6 +83,7 @@ def index(rt, mboxfile, db):
extra = Extra()
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)
Expand Down

0 comments on commit 5a51ea2

Please sign in to comment.