NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Type Query Usage
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Type Query Usage
editFluent DSL example
editq .Type(c => c .Name("named_query") .Boost(1.1) .Value<Developer>() )
Object Initializer syntax example
editnew TypeQuery { Name = "named_query", Boost = 1.1, Value = Type<Developer>() }
Example json output.
{ "type": { "_name": "named_query", "boost": 1.1, "value": "developer" } }
Was this helpful?
Thank you for your feedback.