mirror of https://github.com/pelias/api.git
Peter Johnson
9 years ago
10 changed files with 10 additions and 331 deletions
@ -1,13 +0,0 @@
|
||||
/** |
||||
* These values specify how much a document that matches certain parts of an address |
||||
* should be boosted in elasticsearch results. |
||||
*/ |
||||
|
||||
module.exports = { |
||||
number: 1, |
||||
street: 3, |
||||
zip: 3, |
||||
admin2: 2, |
||||
admin1_abbr: 3, |
||||
alpha3: 5 |
||||
}; |
@ -1,13 +0,0 @@
|
||||
/** |
||||
* These values specify how much a document that matches a certain _type |
||||
* should be boosted in elasticsearch results. |
||||
*/ |
||||
|
||||
module.exports = { |
||||
'admin0': 4, |
||||
'admin1': 3, |
||||
'admin2': 2, |
||||
'local_admin': 1, |
||||
'locality':1, |
||||
'neighborhood':1 |
||||
}; |
@ -1,17 +0,0 @@
|
||||
/** |
||||
* These values specify how much a record that matches a certain category |
||||
* should be boosted in elasticsearch results. |
||||
*/ |
||||
|
||||
module.exports.default = { |
||||
'transport:air': 2, |
||||
'transport:air:aerodrome': 2, |
||||
'transport:air:airport': 2, |
||||
'admin': 2 |
||||
}; |
||||
|
||||
module.exports.address = { |
||||
'transport:air': 2, |
||||
'transport:air:aerodrome': 2, |
||||
'transport:air:airport': 2 |
||||
}; |
Loading…
Reference in new issue