You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
646 B
Markdown
20 lines
646 B
Markdown
# KBQA
|
|
知识图谱问答系统
|
|
|
|
- kabq-common(公共模块:公共配置,公共代码)
|
|
- kabq-model (模型模块)
|
|
- knowledge-report (知识报送模块)
|
|
|
|
# nGql语句及注意事项
|
|
|
|
注意事项:
|
|
1. 必须创建索引之后,才能根据字段查询到数据
|
|
2. 创建索引之后,必须rebuild这个索引,索引才能生效,才能查到数据
|
|
|
|
构建索引
|
|
~~~ ngql
|
|
|
|
CREATE TAG INDEX IF NOT EXISTS item_branch_item_name_index ON item_leaf(item_name(100));
|
|
REBUILD TAG INDEX item_branch_item_name_index ;
|
|
CREATE TAG INDEX IF NOT EXISTS item_leaf_item_name_index ON item_leaf(item_name(100));
|
|
REBUILD TAG INDEX item_leaf_item_name_index ; |