Skip to content

Storing queries in ElasticSearch and use it like a view #4741

@obfischer

Description

@obfischer

It is easy to query ElasticSearch but exchanging with others is not as easy as I would like to have it.

I would like to have the possibillity to save queries to ElasticSearch in a way similar to the percolator API:

url -XPUT localhost:9200/_query/myqueryname -d '{
    "query" : {
        "term" : {
            "field1" : "value1"
        }
    }
}'

Later I would like to execute the query via

curl -X GET localhost:9200/_query/myqueryname

I think such a functionality is not available in ElasticSearch at the moment. Or?

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