Azure search, search by partial terms

天大地大妈咪最大 提交于 2019-12-12 02:17:32

问题


Here are two examples for search in the portal, where I would expect to get some results in the second search, even with one letter missing.

The search is in Hebrew language

The full term return some results,

The same term with one letter missing return no results,


回答1:


There are a few ways you can search for partial terms in Azure Search. You'll need to decide which of the following methods will work best in your scenario. Based on the example it seems either fuzzy search or prefix search will do the job. You can learn about the differences between the these methods in the documentation.

  • Fuzzy search: blog, documentation
  • Wildcard search, specifically prefix search: documentation
  • Regular expression search: documentation
  • Index partial terms by defining a custom analyzer: blog, documentation

Let me know if you have any questions about any of the above



来源:https://stackoverflow.com/questions/41692508/azure-search-search-by-partial-terms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!