Azure Search Analyzer

旧城冷巷雨未停 提交于 2019-12-31 03:02:05

问题


We need to create a field for an Index that is not going to be tokenised but still be searchable. In Azure Search if you make a field searchable, then the contents of the field are tokenised. If you make it filterable (documentation says then it wont be tokenised) then you cannot search it. In Lucene a KeywordAnalyzer does this job. Since Azure Search is also using Lucene cant understand why we cannot store a field contents AS IS in the index for searching WITHOUT splitting all the words/removing stop words etc. etc. Would appreciate any assistance


回答1:


Using keyword and other Lucene analyzers is now possible using Custom analyzers feature of Azure Search. Note: this functionality is still in preview.

HTH!



来源:https://stackoverflow.com/questions/34303438/azure-search-analyzer

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