From 54a252e5ec6fa8c408f1d2103d28bbde4ef6ad30 Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Wed, 11 Sep 2019 12:55:18 +0800 Subject: [PATCH] fix(indexer): add helper indexer to registeration --- gnes/indexer/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnes/indexer/__init__.py b/gnes/indexer/__init__.py index c5a90fc9..555a6070 100644 --- a/gnes/indexer/__init__.py +++ b/gnes/indexer/__init__.py @@ -29,7 +29,11 @@ 'BaseDocIndexer': 'base', 'AnnoyIndexer': 'chunk.annoy', 'DirectoryIndexer': 'doc.filesys', - 'DictIndexer': 'doc.dict' + 'DictIndexer': 'doc.dict', + 'DictKeyIndexer': 'chunk.helper', + 'ListKeyIndexer': 'chunk.helper', + 'ListNumpyKeyIndexer': 'chunk.helper', + 'NumpyKeyIndexer': 'chunk.helper', } register_all_class(_cls2file_map, 'indexer')