问题
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