开发者社区> 问答> 正文

Havenask这个问题怎么解决?

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"
}
]
}
}
]
}

展开
收起
三分钟热度的鱼 2024-07-03 23:31:59 20 0
1 条回答
写回答
取消 提交回答
  • 北京阿里云ACE会长

    没运行完,需要等等。

    Havenask的日志文件中包含有关为什么表状态不是READY的详细信息。检查Havenask的日志输出,查找错误或警告信息。

    2024-07-04 07:52:12
    赞同 5 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载