Index Boost Usage

edit

Fluent DSL example

edit
s => s
.IndicesBoost(b => b
    .Add("project", 1.4)
    .Add("devs", 1.3)
)

Object Initializer syntax example

edit
new SearchRequest<Project>
{
    IndicesBoost = new Dictionary<IndexName, double>
    {
        { "project", 1.4 },
        { "devs", 1.3 }
    }
}

Example json output.

{
  "indices_boost": {
    "project": 1.4,
    "devs": 1.3
  }
}