Try our conversational search powered by Generative AI!
AI OnAI Off
I was able to make it work by setting the DefaultField in 'query' object as following:
public static DelegateFilterBuilder MatchUsingStemming(this string property, string fieldName, string searchTerm)
{
QueryStringQuery query = new QueryStringQuery((FieldFilterValue)searchTerm.Quote())
{
RawQuery = searchTerm,
DefaultField = SearchClient.Instance.Conventions.FieldNameConvention.GetFieldNameForSearch(GetExpression<SearchProduct>(fieldName), Language.English)
};
DelegateFilterBuilder delegateFilterBuilder = new DelegateFilterBuilder((string field) => new QueryFilter(query));
return delegateFilterBuilder;
}
Hello,
Using FIND 13.0.5
I want to keep it simple and do not want to mention too many details.
My simple question is how to have a DelegeateFilterBuilder that uses stemming.
Here is my first try and it did not work:
Thanks!