Havenask这个问题怎么解决?把表创建成功,使用insert插入数据后,hape gs haveask一直是NOT_READY的状态,不能查询,也不能插入下一条语句 {
"columns": [
{
"name": "id",
"type": "UINT32"
},
{
"name": "title",
"type": "TEXT",
"analyzer": "jieba_analyzer"
},
{
"name": "abstract",
"type": "TEXT",
"analyzer": "jieba_analyzer"
},
{
"name": "vector_title",
"type": "STRING"
},
{
"name": "vector_abstract",
"type": "STRING"
},
{
"name": "DUP_vector_title",
"type": "RAW"
},
{
"name": "DUP_vector_abstract",
"type": "RAW"
}
],
"indexes": [
{
"name": "id",
"index_config" : {
"index_fields": [
{
"field_name": "id"
}
]
},
"index_type": "PRIMARY_KEY64"
},
{
"name": "id",
"index_config" : {
"index_fields": [
{
"field_name": "id"
}
]
},
"index_type": "ATTRIBUTE"
},
{
"name": "title",
"index_config" : {
"index_fields": [
{
"field_name": "title"
}
]
},
"index_type": "TEXT"
},
{
"name": "abstract",
"index_config" : {
"index_fields": [
{
"field_name": "abstract"
}
]
},
"index_type": "TEXT"
},
{
"name": "vector_title",
"index_config" : {
"index_fields": [
{
"field_name": "vector_title"
}
]
},
"index_type": "ATTRIBUTE"
},
{
"name": "vector_index_title",
"index_type": "ANN",
"index_config": {
"index_fields": [
{
"boost": 1,
"field_name": "id"
},
{
"boost": 1,
"field_name": "DUP_vector_title"
}
],
"index_params": {
"indexer": "aitheta2_indexer",
"parameters": "{\"enable_rt_build\":\"true\",\"min_scan_doc_cnt\":\"20000\",\"vector_index_type\":\"Qc\",\"major_order\":\"col\",\"builder_name\":\"QcBuilder\",\"distance_type\":\"SquaredEuclidean\",\"embedding_delimiter\":\",\",\"enable_recall_report\":\"true\",\"is_embedding_saved\":\"true\",\"linear_build_threshold\":\"5000\",\"dimension\":\"1024\",\"search_index_params\":\"{\\"proxima.qc.searcher.scan_ratio\\":0.01}\",\"searcher_name\":\"QcSearcher\",\"build_index_params\":\"{\\"proxima.qc.builder.quantizer_class\\":\\"Int8QuantizerConverter\\",\\"proxima.qc.builder.quantize_by_centroid\\":true,\\"proxima.qc.builder.optimizer_class\\":\\"BruteForceBuilder\\",\\"proxima.qc.builder.thread_count\\":10,\\"proxima.qc.builder.optimizer_params\\":{\\"proxima.linear.builder.column_major_order\\":true},\\"proxima.qc.builder.store_original_features\\":false,\\"proxima.qc.builder.train_sample_count\\":3000000,\\"proxima.qc.builder.train_sample_ratio\\":0.5}\"}"
}
}
},
{
"name": "vector_abstract",
"index_config" : {
"index_fields": [
{
"field_name": "vector_abstract"
}
]
},
"index_type": "ATTRIBUTE"
},
{
"name": "vector_index_abstract",
"index_type": "ANN",
"index_config": {
"index_fields": [
{
"boost": 1,
"field_name": "id"
},
{
"boost": 1,
"field_name": "DUP_vector_abstract"
}
],
"index_params": {
"indexer": "aitheta2_indexer",
"parameters": "{\"enable_rt_build\":\"true\",\"min_scan_doc_cnt\":\"20000\",\"vector_index_type\":\"Qc\",\"major_order\":\"col\",\"builder_name\":\"QcBuilder\",\"distance_type\":\"SquaredEuclidean\",\"embedding_delimiter\":\",\",\"enable_recall_report\":\"true\",\"is_embedding_saved\":\"true\",\"linear_build_threshold\":\"5000\",\"dimension\":\"1024\",\"search_index_params\":\"{\\"proxima.qc.searcher.scan_ratio\\":0.01}\",\"searcher_name\":\"QcSearcher\",\"build_index_params\":\"{\\"proxima.qc.builder.quantizer_class\\":\\"Int8QuantizerConverter\\",\\"proxima.qc.builder.quantize_by_centroid\\":true,\\"proxima.qc.builder.optimizer_class\\":\\"BruteForceBuilder\\",\\"proxima.qc.builder.thread_count\\":10,\\"proxima.qc.builder.optimizer_params\\":{\\"proxima.linear.builder.column_major_order\\":true},\\"proxima.qc.builder.store_original_features\\":false,\\"proxima.qc.builder.train_sample_count\\":3000000,\\"proxima.qc.builder.train_sample_ratio\\":0.5}\"}"
}
}
},
{
"name": "summary",
"index_type": "SUMMARY",
"index_config": {
"index_fields": [
{
"field_name": "id"
},
{
"field_name": "title"
},
{
"field_name": "abstract"
},
{
"field_name": "vector_title"
},
{
"field_name": "vector_abstract"
}
]
}
}
]
}
没运行完,需要等等。
Havenask的日志文件中包含有关为什么表状态不是READY的详细信息。检查Havenask的日志输出,查找错误或警告信息。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。