提交 da427877 编写于 作者: X xj.lin

add new test

上级 1bebe578
import unittest
from ..scheduler import *
......@@ -98,7 +98,8 @@ class VectorEngine(object):
# create index
index_builder = build_index.FactoryIndex()
index = index_builder().build(d, raw_data)
index = index_builder().build(d, raw_data) # type: index
index = build_index.Index.serialize(index) # type: array
# TODO(jinhai): store index into Cache
index_filename = file.filename + '_index'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册