greenkeeper[bot]
be29fd9d27
fix(package): update pelias-config to version 3.0.2
7 years ago
Julian Simioni
0321536ebb
Merge pull request #1150 from pelias/interpolation_sorting
...
fix(interpolation): Ensure proper sorting of streets with interpolated addresses
7 years ago
Julian Simioni
10241047a6
fix(interpolation): Ensure proper sorting of streets with interpolated addresses
...
In cases where several conditions are met, it is possible for results to
be returned from the API that are not sorted as they were intended.
These conditions are:
* over 10 results total were returned from Elasticsearch
* the interpolation middleware was called
* not all street results end up with possible interpolated address
matches, and some of those streets come before other interpolated
address records, necessitating a re-sorting of the results in the
interpolation middleware
In these cases, the ordering of streets as defined by Elasticsearch,
such as by linguistic match or distance from a focus point, will no
longer be respected in the results.
This is because Node.js's `Array.prototype.sort` uses an
[*un*stable QuickSort for arrays of size 11 or greater](https://github.com/nodejs/node/blob/master/deps/v8/src/js/array.js#L670 ).
The solution is to switch to a sorting algorithm that is always stable.
This ensures that whatever ordering was specified in the Elasticsearch
queries is observed, without any of that logic having to be duplicated,
and then possibly conflict.
Stable sorting is provided by the [stable](http://npmjs.com/stable ) NPM
package.
7 years ago
Julian Simioni
783ff7529a
Merge pull request #1148 from pelias/greenkeeper/pelias-mock-logger-1.3.0
...
Update pelias-mock-logger to the latest version ๐
7 years ago
greenkeeper[bot]
84cac12fa9
chore(package): update pelias-mock-logger to version 1.3.0
7 years ago
Julian Simioni
42ad1b4f8e
Merge pull request #1147 from pelias/greenkeeper/pelias-microservice-wrapper-1.4.0
...
Update pelias-microservice-wrapper to the latest version ๐
7 years ago
greenkeeper[bot]
5f565583f0
fix(package): update pelias-microservice-wrapper to version 1.4.0
7 years ago
Julian Simioni
594ec34b7e
Merge pull request #1152 from pelias/greenkeeper/pelias-logger-0.4.1
...
fix(package): update pelias-logger to version 0.4.1
7 years ago
greenkeeper[bot]
152897714e
fix(package): update pelias-logger to version 0.4.1
...
Closes #1144
7 years ago
Julian Simioni
cdbfb5ce2d
Merge pull request #1151 from pelias/greenkeeper/pelias-config-3.0.1
...
fix(package): update pelias-config to version 3.0.1
7 years ago
greenkeeper[bot]
1fbb81a1a4
fix(package): update pelias-config to version 3.0.1
...
Closes #1136
7 years ago
Julian Simioni
dc2662659b
Merge pull request #1149 from pelias/attribution
...
Fix attribution URL settings
7 years ago
Julian Simioni
bb860b815d
fix(attribution): Use correct path for attribution endpoint
7 years ago
Julian Simioni
7122317f2a
feat(attribution): allow overriding attribution URL
...
This url is used to show attribution information for Pelias data sources
It was often not detected correctly if, for example, the API is proxied
behind a load balancer.
7 years ago
Peter Johnson
e15aa52f63
feat(type_mapping): rename function to avoid confusion with elasticsearch API
7 years ago
missinglink
83ab1636e1
readme: documentation for api.targets config
7 years ago
missinglink
b1cfd091ed
type_mapping: add unit tests
7 years ago
missinglink
4e3552f073
index: revert changes
7 years ago
missinglink
20e7db3091
package: bump config version
7 years ago
missinglink
2dd2061f8e
feat(targets): configuration-based filter targets
7 years ago
missinglink
e2835dcd1c
feat(type_mapping): refactor
7 years ago
missinglink
63c962503c
test: improved type_mapping tests
7 years ago
Julian Simioni
de41111975
Merge pull request #1124 from pelias/greenkeeper/joi-13.1.3
...
Update joi to the latest version ๐
7 years ago
greenkeeper[bot]
03d8732606
fix(package): update joi to version 13.1.3
7 years ago
Julian Simioni
62326455e6
Merge pull request #1139 from pelias/disable-github-notifs
...
Disable semantic-release success actions
7 years ago
Julian Simioni
d19a641627
Disable semantic-release success actions
...
The default is to comment on every issue which made it into the release.
Possibly convenient, definitely spammy.
See https://github.com/semantic-release/semantic-release/blob/caribou/docs/usage/plugins.md#success-plugin
and https://github.com/semantic-release/github
7 years ago
Julian Simioni
27385da8dd
Change default NPM package name
7 years ago
Julian Simioni
6fb038c3fd
Merge pull request #1137 from pelias/ci-cleanup
...
CI cleanup
7 years ago
Julian Simioni
e5afa25b5e
Skip npm prune on Travis
...
Travis always installs fresh, so this should never be needed
7 years ago
Julian Simioni
01ca6e6c65
Remove npm-check
7 years ago
Julian Simioni
d3db8f2e83
Merge pull request #1135 from pelias/fix-semantic-release
...
Fix semantic release run
7 years ago
Julian Simioni
06f7099598
Fix semantic release run
7 years ago
Julian Simioni
e68e420e94
Merge pull request #1126 from pelias/nodejs-10
...
Add Node.js 10 to TravisCI
7 years ago
Julian Simioni
b829fc1a20
feat: Add Node.js 10 to TravisCI
...
Connects https://github.com/pelias/pelias/issues/723
7 years ago
Julian Simioni
284b32a2a4
feat: Merge pull request #1133 from pelias/semantic-release-on-production-branch
...
Run semantic-relase on the production branch
7 years ago
Julian Simioni
37430d5dab
Run semantic-relase on the production branch
...
This change will make semantic-release run only on the `production`
branch. This means only merges to production will create new NPM
packages, GitHub releases, git tags, and `:latest` Docker images on
Docker hub.
Connects https://github.com/pelias/pelias/issues/721
7 years ago
Julian Simioni
647b48cd92
feat: Merge pull request #1127 from sweco-semhul/use-unit-in-structured-search
...
Adding support for unit field in structured search.
7 years ago
semhul
a0aa5ed7f2
Adding support for unit field in structured search. If libpostal finds it in input use it for searching
7 years ago
Julian Simioni
d48ce88c86
fix: Merge pull request #1125 from pelias/fix-readme-link
...
Fix link to documentation
7 years ago
Julian Simioni
1b00b643f1
Fix link to documentation
...
I think this was broken by
https://github.com/pelias/documentation/pull/219 and the rename of
pelias/pelias-doc to pelias/documentation
7 years ago
Julian Simioni
89fb8ee121
Merge pull request #1115 from pelias/improve-readme
...
Improve README for Mapzen shutdown and Libpostal service
7 years ago
Julian Simioni
0785f28a64
Remove default focus point from example config
...
I predict this would have caused weird query issues for people who
copied it
7 years ago
Julian Simioni
f8771ca6f8
Update Node.js versions in README
7 years ago
Julian Simioni
6718373d87
Update LICENSE
7 years ago
Julian Simioni
0a1b34aea5
Add note that there are services besides Elasticsearch
7 years ago
Julian Simioni
66e21b4d23
Update example pelias.json
7 years ago
Julian Simioni
8ac8adb819
Fix grammar
7 years ago
Julian Simioni
04a3ae84db
Update list of services with libpostal
7 years ago
Julian Simioni
5ace10adc6
Update README header
...
We should probably propagate this change to all READMEs.
7 years ago
Julian Simioni
891869c8af
Merge pull request #1092 from pelias/greenkeeper/proxyquire-2.0.0
...
Update proxyquire to the latest version ๐
7 years ago