Skip to content

Elasticsearch: look at changing termAggregation.shardSize to be a function of requested terms #359

@joeferner

Description

@joeferner

https://github.com/visallo/vertexium/blob/master/elasticsearch5/src/main/java/org/vertexium/elasticsearch5/ElasticsearchSearchIndexConfiguration.java#L25

By setting termAggregation.shardSize to a specific value this limits requests with larger requested terms.

So if you ask for 100 terms, 10 is too small.

If instead we change this to a function of the requested terms this could accommodate more requests. Possibly 2 times the number of requested terms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions