Skip to content

field collapsing very slow #24900

@zplzpl

Description

@zplzpl

Elasticsearch version: v5.3.2

Plugins installed: [ik,pinyin]

JVM version (java -version): openjdk version "1.8.0_121"

OS version (uname -a if on a Unix-like system): Linux es1 2.6.32-431.11.25.el6.ucloud.x86_64 #1 SMP Tue Jul 19 10:06:12 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:

Only one field is used to collapsing . the field type is keyword.

hits.total = 1130

The same request does not contain the collapsing that are only used for 13 milliseconds, using a collapsing using 130 milliseconds. (This time is CURL starttransfer time)

10x time.

Using the restful api.

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