Skip to content

Analyze operation legacy request #2169

@macebalp

Description

@macebalp

Describe the feature:

When an analyze operation is performed, the request generated to ES contains the text to analyze as the body of the request and the rest of parameters in the query string. This is maintained by ES for backward compatibility and has limitations (text cannot start by '{') as described here: https://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-analyze.html. I have looked in your code base and seen this is done in: ElasticClient (https://github.com/elastic/elasticsearch-net/blob/2.x/src/Nest/Indices/Analyze/ElasticClient-Analyze.cs).

I would suggest to pass all the parameters in the body of the request as json as described in the above ES documentation link.

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