AI OnAI Off
I was able to achieve it using below code:
public static DelegateFilterBuilder PrefixCaseInsensitive(this IEnumerable<string> value, string prefix)
{
return new DelegateFilterBuilder((Func<string, Filter>)(field => (Filter)new PrefixFilter(field, prefix.ToLowerInvariant())))
{
FieldNameMethod = (Func<Expression, IClientConventions, string>)((expression, conventions) => conventions.FieldNameConvention.GetFieldNameForLowercase(expression))
};
}
Thanks!
Is it possible to use PrefixCaseInsensitive with a collection of strings?
By default, FIND allows to use MatchCaseInsensitive for strings collections but seems like PrefixCaseInsensitive is not supported.