Thanks for your help in advance.
I am using Azure Search .Net SDK to build an indexer. I am currently also using a custom analyzer
Before using the custom analyzer, I was using EnLucene analyzer, which allowed me to use wildcard search *. For example, I was using to allow users to search suffix search. If a user searches for "app", it will return the results such as "apple, application, approach". Please do not suggest autocomplete or suggest because suggester cannot be used together with a custom analyzer. I do not want to create additional 20 search fields just because of suggester. (one for suggester and one for search).
Below is my custom analyzer example. It does not allow me to use * to do partial match. I am not looking for NGram solution for any prefix or suffix partial match. I would actually like to use wildcard *. What could I do to allow wildcard search?
var definition = new Index()
{
Name = indexName,
Fields = mapFields,
Analyzers = new[]
{
new CustomAnalyzer
{
Name = "custom_analyzer",
Tokenizer = TokenizerName.Whitespace,
TokenFilters = new[]
{
TokenFilterName.AsciiFolding,
TokenFilterName.Lowercase,
TokenFilterName.Phonetic
}
}
}
};