s/boost_factor/boost in custom_filters_score doc

I may be wrong but I think custom_filters_score used boost rather than boost factor?
This commit is contained in:
Benjamin Devèze 2014-04-30 12:27:43 +02:00 committed by Clinton Gormley
parent 2e03a6629b
commit 6feeac98c8
1 changed files with 2 additions and 2 deletions

View File

@ -511,11 +511,11 @@ and the `custom_filters_score`
"custom_filters_score": {
"filters": [
{
"boost_factor": "3",
"boost": "3",
"filter": {...}
},
{
"filter": {…},
"filter": {...},
"script": "_score * doc['my_numeric_field'].value / pow(param1, param2)"
}
],