Commit fc0b69d5 authored by Tim Peters's avatar Tim Peters

Looks like we have to tell ZCTextIndex which kind of index now.

parent 90b46b59
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment