Azure Search Service a field that has . or # not decoding no results -
we using .net library azure search, have built index , stored data in index. 1 of our fields called tags collection of strings , marked searchable. put values in field such c# .net.
the problem when searching search service not hit on c#, on c, nor hit on .net on net. can see thru fiddler search term encoding # , ., doesn't seem it's getting decoded on azure side.
the behavior you're seeing result tokenization performed standard analyzer used azure search. default breaks on many punctuation characters # , . (you can details of text analysis in azure search here).
we're looking adding support custom analyzers let exclude characters such # , . word-breaking, still in planning stages. in meantime, workaround suggest encoding these characters in application before indexing , querying (e.g. -- c# -> csharp, .net -> dotnet).
Comments
Post a Comment