Hi,
I call this private GetHighLights from query:
...
..
.Aggregations(Get.Aggregations)
.Highlight(GetHighLights)
but unable understand the way to replace it with more generic way like {"Title","Sumamry","Description"}
private HighlightDescriptor GetHighLights(HighlightDescriptor book)
{
return book
.PreTags("")
.PostTags("</em")
.Fields(
f => f
.Field(u => u.Title),
f => f
.Field(u => u.Sumamry),
f => f
.Field(u => u.Description)
);
}