通过 go-importer 导入数据后执行 Compact, job成功之后开始建立索引。
通过 show tag indexes 可以查到索引
但是通过 show tag index status 无法查看索引状态
同时 lookup 语句可以执行,但没有结果。
可以确认这条数据是存在的
建立索引命令如下
create tag index IF NOT EXISTS index_n100 on N100(name);
create tag index IF NOT EXISTS index_n200 on N200(name);
create tag index IF NOT EXISTS index_n300 on N300(name);
create edge index IF NOT EXISTS index_a0100 on A0100(equity_ratio);
create edge index IF NOT EXISTS index_a0110 on A0110(equity_ratio);
从语句执行到现在大概有12个小时。