Help with multi Highlights fileds with NEST

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)
);

    }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.