Determine search language in builder, and add missing method in websupport indexer implementations.

This commit is contained in:
Georg Brandl
2011-01-04 12:47:49 +01:00
parent 7beb8533b5
commit cfe85b4e8b
4 changed files with 18 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ def test_wordcollector():
doc['file'] = 'dummy'
parser.parse(FILE_CONTENTS, doc)
ix = IndexBuilder(None)
ix = IndexBuilder(None, 'en', {})
ix.feed('filename', 'title', doc)
assert 'boson' not in ix._mapping
assert 'fermion' in ix._mapping