1 | module.exports = {
|
2 | query: {
|
3 | function_score: {
|
4 | query: {
|
5 | bool: {
|
6 | minimum_should_match: 1,
|
7 | should: []
|
8 | }
|
9 | },
|
10 | // move to configuration
|
11 | max_boost: 20,
|
12 | functions: [],
|
13 | score_mode: 'avg',
|
14 | boost_mode: 'multiply'
|
15 | }
|
16 | },
|
17 | sort: [
|
18 | '_score'
|
19 | ]
|
20 | };
|