summaryrefslogtreecommitdiff
path: root/docs/reference/search/request/index-boost.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/search/request/index-boost.asciidoc')
-rw-r--r--docs/reference/search/request/index-boost.asciidoc17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/reference/search/request/index-boost.asciidoc b/docs/reference/search/request/index-boost.asciidoc
new file mode 100644
index 0000000..29d1da3
--- /dev/null
+++ b/docs/reference/search/request/index-boost.asciidoc
@@ -0,0 +1,17 @@
+[[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]
+--------------------------------------------------
+{
+ "indices_boost" : {
+ "index1" : 1.4,
+ "index2" : 1.3
+ }
+}
+--------------------------------------------------