Skip to content

How do I access aggregations after serializing the result? #87

@virajs07

Description

@virajs07

I am using the plainelastic version 1.1.53.0. I am unable to use the geo_distance and date_range aggregates of elasticsearch. I am working around by using custom options instead. Though I would prefer to use their power instead of custom option.

Also I am unable to access the aggregation field after deserializing the result. I only get the option to use facets here and not aggregations.

var serializer = new JsonNetSerializer();
var facets=serializer.ToSearchResult<>(result).facets;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions