简体   繁体   English

AWS CloudSearch控制台提供不同的搜索结果

[英]AWS cloudsearch console providing different search result

In Aws console when I search "authority" it provide me the result which have the term "author" which is not at all feasible according to my search term. 在Aws控制台中,当我搜索“权威”时,它会为我提供带有“作者”一词的结果,根据我的搜索词,这根本不可行。 Is there any configuration problem. 是否有任何配置问题。

This is because of stemming , which is a trick search engines use to try to return matches for the same root word. 这是因为存在 ,这是搜索引擎用来尝试返回相同词根匹配项的技巧。 For example, a query for "cooking" should probably also match "cook", "cooked", etc. This is accomplished by indexing the word stems, and you can control the extent to which CloudSearch stems. 例如,查询“烹饪”可能还应该匹配“烹饪”,“烹饪”等。这可以通过索引词干来实现,您可以控制CloudSearch词干的程度。

The default for English is full algorithmic stemming and what you have here is a case of that algorithm not returning the desired results. 英文的默认设置为完整算法提取 ,此处您所遇到的情况是该算法未返回所需结果的情况。 Your options are to turn down stemming to light or none , or to index this as a literal field rather than text (probably not what you want but I don't know much about your use case). 你的选择是掉头向下所产生点亮 ,或索引此为文字领域,而不是文本(可能不是你想要的,但我不知道很多关于你的使用情况)。

Here are the docs for Configuring Text Analysis Schemes and Text Processing in CloudSearch. 这是在CloudSearch中配置文本分析方案文本处理的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM