From a4c7733618b93ed2d163f0689f732a76231b9693 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 18 Apr 2012 15:23:00 -0400 Subject: [PATCH] fix superfastmatch defer syntax --- oyster/ext/superfastmatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/ext/superfastmatch.py b/oyster/ext/superfastmatch.py index 958f4f0..b36a21e 100644 --- a/oyster/ext/superfastmatch.py +++ b/oyster/ext/superfastmatch.py @@ -20,4 +20,4 @@ class SuperFastMatchPush(Task): doc = kernel.db.tracked.find_one({'_id': doc_id}) text = kernel.extract_text(doc) doctype, docid = settings.SUPERFASTMATCH_ID_FUNC(doc_id) - sfm.add(doctype, docid, text, **doc['metadata'], defer=True) + sfm.add(doctype, docid, text, defer=True, **doc['metadata'])