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.
Index Boost Usage
editIndex Boost Usage
editFluent DSL example
edits => s .IndicesBoost(b => b .Add("index1", 1.4) .Add("index2", 1.3) )
Object Initializer syntax example
editnew SearchRequest<Project> { IndicesBoost = new Dictionary<IndexName, double> { { "index1", 1.4 }, { "index2", 1.3 } } }
Example json output.
{ "indices_boost": { "index1": 1.4, "index2": 1.3 } }