2013-08-28 19:24:34 -04:00
|
|
|
[[search-request-index-boost]]
|
|
|
|
=== Index Boost
|
|
|
|
|
|
|
|
Allows to configure different boost level per index when searching
|
|
|
|
across more than one indices. This is very handy when hits coming from
|
|
|
|
one index matter more than hits coming from another index (think social
|
|
|
|
graph where each user has an index).
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
2016-05-18 07:15:19 -04:00
|
|
|
GET /_search
|
2013-08-28 19:24:34 -04:00
|
|
|
{
|
|
|
|
"indices_boost" : {
|
|
|
|
"index1" : 1.4,
|
|
|
|
"index2" : 1.3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--------------------------------------------------
|
2016-05-18 07:15:19 -04:00
|
|
|
// CONSOLE
|