是否Azure的搜索处理同义词 [英] Does Azure Search handle synonyms

查看:201
本文介绍了是否Azure的搜索处理同义词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否天青搜索基于搜索的同义词?

Can "Azure Search" search based on synonyms?

例如。如果我搜索鞋类,系统要读取的结果
  鞋样鞋的同义词,凉鞋e.t.c。

E.g. If I search for 'footwear', the system should fetch results of synonyms of footwear like shoes, sandals e.t.c.

我搜索了很多,没有找到关于它的正确的文件。我能找到最接近的是一个后说,它不支持呢,但它是一个旧的文章 - <一个href=\"https://social.msdn.microsoft.com/Forums/en-US/9d0873cf-14aa-4d3e-b33f-a047963e8671/internationalized-search-finding-both-color-and-colour?forum=azuresearch\" rel=\"nofollow\">https://social.msdn.microsoft.com/Forums/en-US/9d0873cf-14aa-4d3e-b33f-a047963e8671/internationalized-search-finding-both-color-and-colour?forum=azuresearch

I searched a lot and failed to find proper documentation about it. The closest I could find is a post saying it doesn't support yet, but it's an old post - https://social.msdn.microsoft.com/Forums/en-US/9d0873cf-14aa-4d3e-b33f-a047963e8671/internationalized-search-finding-both-color-and-colour?forum=azuresearch

推荐答案

不幸的是,我们还没有添加自动代名词支持尚未Azure的搜索。当然,你可能想象这是我们听到了不少所以我们在这方面计划的一个pretty重要特征。与此同时,让我给一些指点:

Unfortunately, we have not added automatic synonym support yet to Azure Search. Certainly as you might imagine this is a pretty important feature which we hear quite a bit so we do have plans in this area. In the mean time, let me give a few pointers:

1)我们支持制止,事实上微软自然语言处理器(NLP)就是我们的preVIEW API 02-28-2015- preVIEW的一部分,是真的擅长lemitization它提供了一个非常深50种语言理解,让你得到不同形式的话。在英语中一个很好的例子,我们可以发现老鼠当您搜索的鼠标。它还处理时态(字数阳刚/女性叙写形式)非常好也。我知道这是你指的是你的问题不算什么,但可能是一些你可以利用。在这个位置的更多细节:<一href=\"https://azure.microsoft.com/en-us/documentation/articles/search-api-2015-02-28-$p$pview/#LanguageSupport\" rel=\"nofollow\">https://azure.microsoft.com/en-us/documentation/articles/search-api-2015-02-28-$p$pview/#LanguageSupport

1) We do support stemming and in fact the Microsoft Natural Language Processor (NLP) that is part of our preview api 02-28-2015-Preview is really good at lemitization which provides a really deep understanding of 50 languages to allow you to get different forms of words. In English a good example would be where we can find mice when you search for mouse. It also handles tenses (masculine / feminie forms of words) really well also. I realize that this is not what you are referring to in your question, but might be something you can leverage. More details on this here: https://azure.microsoft.com/en-us/documentation/articles/search-api-2015-02-28-preview/#LanguageSupport

2)如果你知道你要使用有几个技巧的同义词,你可以使用Azure的搜索,实现同义词支持,包括:

2) If you know the synonyms you want to use there are a few techniques you can use to achieve synonym support in Azure Search including:


  • ,你通过你的文档的内容和那里是一个可能的匹配的代名词的话,那同义词单词添加到收藏领域的文档使用我们的集合数据类型。这样一来,如果有人对同义词词的搜索,它会拿出一个匹配

  • 创建一个单独的索引,只是包括了这些同义词词。当你做一个搜索(或建议搜索),它违背了这个代名词指数来获得所有可能的匹配,然后执行对主要指标的适当的查询。

我希望帮助

这篇关于是否Azure的搜索处理同义词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆