Epinova.Elasticsearch icon indicating copy to clipboard operation
Epinova.Elasticsearch copied to clipboard

DidYouMean doesn't give any suggestions

Open haspe85 opened this issue 3 years ago • 0 comments

I have a property that has the attribute DidYouMeanSource

[Display(
        Name = "Rubrik",
        GroupName = SystemTabNames.Content,
        Order = 1)]
    [DidYouMeanSource]

    public virtual string Heading { get; set; }

But the search result doesn't give any suggestions back.

if (result != null && result.DidYouMean != null)
            {
                searchResult.DidYouMean = result.DidYouMean.FirstOrDefault();
                return searchResult;
            }

haspe85 avatar Jun 03 '21 11:06 haspe85