IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Ids Query Usage
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Ids Query Usage
editFluent DSL example
editq .Ids(c => c .Name("named_query") .Boost(1.1) .Values(1, 2, 3, 4) )
Object Initializer syntax example
editnew IdsQuery { Name = "named_query", Boost = 1.1, Values = new List<Id> { 1, 2, 3, 4 }, }
Example json output.
{ "ids": { "_name": "named_query", "boost": 1.1, "values": [ 1, 2, 3, 4 ] } }
Was this helpful?
Thank you for your feedback.