NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Type Query Usage
editType 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" } }