You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Exists Query Usageedit
Fluent DSL Exampleedit
q
.Exists(c => c
.Name("named_query")
.Boost(1.1)
.Field(p => p.Description)
)Object Initializer Syntax Exampleedit
new ExistsQuery
{
Name = "named_query",
Boost = 1.1,
Field = "description",
}Example json output.
{
"exists": {
"_name": "named_query",
"boost": 1.1,
"field": "description"
}
}