IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Terms Lookup Query Usage
editTerms Lookup Query Usage
editFluent DSL example
editq .Terms(c => c .Name("named_query") .Boost(1.1) .Field(p => p.Description) .TermsLookup<Developer>(e => e .Path(p => p.LastName) .Id("12") .Routing("myroutingvalue") ) )
Object Initializer syntax example
editnew TermsQuery { Name = "named_query", Boost = 1.1, Field = "description", TermsLookup = new FieldLookup { Id = "12", Index = Index<Developer>(), Path = Field<Developer>(p => p.LastName), Routing = "myroutingvalue" } }
Example json output.
{ "terms": { "_name": "named_query", "boost": 1.1, "description": { "id": "12", "index": "devs", "path": "lastName", "routing": "myroutingvalue" } } }