WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Wildcard Query Usage
editWildcard Query Usage
editFluent DSL example
editq .Wildcard(c => c .Name("named_query") .Boost(1.1) .Field(p => p.Description) .Value("p*oj") .Rewrite(MultiTermQueryRewrite.TopTermsBoost(10)) )
Object Initializer syntax example
editnew WildcardQuery { Name = "named_query", Boost = 1.1, Field = "description", Value = "p*oj", MultiTermQueryRewrite = MultiTermQueryRewrite.TopTermsBoost(10) }
Example json output.
{ "wildcard": { "description": { "_name": "named_query", "boost": 1.1, "rewrite": "top_terms_boost_10", "value": "p*oj" } } }