我正在使用包含多个字段的数据集。我需要同时对多个字段进行搜索。Weaviate 与现场搜索兼容吗?如果是这种情况,如果您能指导我如何组合许多搜索查询,我将不胜感激。
这是一个方案:
schema = {
"classes": [{
"class": "Post",
"vectorizer": "none", # explicitly tell Weaviate not to vectorize anything, we are providing the vectors ourselves through our BERT model
"properties": [{
"name":"pmid",
"dataType": ["int"],
},
{
"name":"title",
"dataType": ["text"],
},
{
"name": "body",
"dataType": ["text"],
},
{
"name":"summary",
"dataType": ["text"],
}]
}]
}
我想同时搜索正文和摘要。例如,它识别在正文和摘要中包含“HIV”一词的出版物。