NOTE: You are looking at documentation for an older release. 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", Rewrite = MultiTermQueryRewrite.TopTermsBoost(10) }
Example json output.
{ "wildcard": { "description": { "_name": "named_query", "boost": 1.1, "rewrite": "top_terms_boost_10", "value": "p*oj" } } }