Friday, 13 November 2015

Elasticsearch: IDS query

Return documents that have provided ids.
{
    "ids" : {
        "type" : "my_type",
        "values" : ["1", "4", "100"]
    }
}


The type is optional and can be omitted, and can also accept an array of values.




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment