Ref Guide: fix documentation for forceElevation param

This commit is contained in:
Munendra S N 2020-07-11 13:56:20 +05:30
parent 1862171e06
commit e355c616b3
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Specifies which fieldType should be used to analyze the incoming text. For examp
Path to the file that defines query elevation. This file must exist in `<instanceDir>/conf/<config-file>` or `<dataDir>/<config-file>`. If the file exists in the `conf/` directory it will be loaded once at startup. If it exists in the `data/` directory, it will be reloaded for each IndexReader. Path to the file that defines query elevation. This file must exist in `<instanceDir>/conf/<config-file>` or `<dataDir>/<config-file>`. If the file exists in the `conf/` directory it will be loaded once at startup. If it exists in the `data/` directory, it will be reloaded for each IndexReader.
`forceElevation`:: `forceElevation`::
By default, this component respects the requested `sort` parameter: if the request asks to sort by date, it will order the results by date. If `forceElevation=true` (the default), results will first return the boosted docs, then order by date. By default, this component respects the requested `sort` parameter: if the request asks to sort by date, it will order the results by date. If `forceElevation=true`, results will first return the boosted docs, then order by date. This defaults to `false`.
This is also a request parameter, which will override the config. This is also a request parameter, which will override the config.
`useConfiguredElevatedOrder`:: `useConfiguredElevatedOrder`::