Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Solr 我需要创建什么类型的核心才能找到这样的字符串?_Solr - Fatal编程技术网

Solr 我需要创建什么类型的核心才能找到这样的字符串?

Solr 我需要创建什么类型的核心才能找到这样的字符串?,solr,Solr,我将如何着手创建一个SOLR核心,以找到类似“考虑获奖者过去的经验”这样的字符串。目前,我找到了诸如“考虑”、“过去”等单个单词,但包含字符串的文档没有返回,至少在前几页没有返回。我应该使用Demax解析器吗?与默认标记器不同的标记器?您需要将查询包装在“中。示例: title:"consideration of the awardee’s past experience" title:"consideration of the awardee’s past experience"~0.7

我将如何着手创建一个SOLR核心,以找到类似“考虑获奖者过去的经验”这样的字符串。目前,我找到了诸如“考虑”、“过去”等单个单词,但包含字符串的文档没有返回,至少在前几页没有返回。我应该使用Demax解析器吗?与默认标记器不同的标记器?

您需要将查询包装在
中。示例:

title:"consideration of the awardee’s past experience"
title:"consideration of the awardee’s past experience"~0.7
如果您对相似但不完全匹配感兴趣,可以尝试将其与模糊搜索相结合。例如:

title:"consideration of the awardee’s past experience"
title:"consideration of the awardee’s past experience"~0.7

该字段使用的字段类型是什么?能否共享使用的架构?