Lily He
|
57b133ba42
|
check and set default for undefined boundary circle radius in reverse
|
7 years ago |
Lily He
|
f019f0ab5e
|
deletd legacy routes and legacyURL code
|
7 years ago |
Lily He
|
5504240016
|
prevent overriding raw.focus.point.lat/lon
|
7 years ago |
Lily He
|
40ca17b886
|
passed down peliasConfig.api schema to sanitizers
|
7 years ago |
Lily He
|
2e2ae9b005
|
added location_bias sanitizer to autocomplete, search, and structured_geocoding
|
7 years ago |
Lily He
|
f67664c3e0
|
location bias feature - sets default focus.point
|
7 years ago |
Julian Simioni
|
35c7c86492
|
Update fixtures for Elasticsearch 5 queries
These queries use [bool](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html)
queries instead of the deprecated `filtered` queries, and also set
`minimum_should_match` to 1, which was apparently implied previously.
Connects https://github.com/pelias/api/issues/762
Connects https://github.com/pelias/api/pull/844
Connects https://github.com/pelias/api/pull/855
Connects https://github.com/pelias/pelias/issues/461
|
7 years ago |
Stephen Hess
|
4271f574ab
|
updated tests for pelias-model 4.9.0 changes
|
7 years ago |
Stephen Hess
|
580a9b16c8
|
set query_type for placeholder to enable confidencescores
|
7 years ago |
missinglink
|
d68cd7a044
|
fix(microservice-schema) schema: add unit test
|
8 years ago |
Stephen Hess
|
f94b683ef3
|
moved 'parser' placeholder url part to service config
|
8 years ago |
Stephen Hess
|
b5c6c403cb
|
updated reverse boundary radius tests to lower value
|
8 years ago |
Stephen Hess
|
2ba23cbb62
|
added warning if boundary.circle.radius is defined
|
8 years ago |
Stephen Hess
|
d788d6a491
|
always set boundary.circle regardless of layers
|
8 years ago |
Stephen Hess
|
67360a4d0b
|
added geonames_deprecation to reverse sanitizing
|
8 years ago |
Stephen Hess
|
a247d7a1cd
|
limit /reverse boundary.circle.* for non-coarse
|
8 years ago |
Stephen Hess
|
10b1d28201
|
only query ES for non-coarse layers on non-coarse reverse requests
|
8 years ago |
Stephen Hess
|
1c9c68e5e3
|
switched to t.plan for easier testing with next()
|
8 years ago |
Stephen Hess
|
976f252e3f
|
remove address/venue/street from requested layers when creating results
refactored for cleanliness and clarity
|
8 years ago |
Stephen Hess
|
615f7b720e
|
switched to t.plan for easier testing with next()
|
8 years ago |
Stephen Hess
|
d67830ca48
|
removed unneeded conditional for abbreviation set
|
8 years ago |
Stephen Hess
|
f721d68e9c
|
removed alpha3 set
|
8 years ago |
Stephen Hess
|
39e91d8233
|
remove address/venue/street from requested layers when creating results
refactored for cleanliness and clarity
|
8 years ago |
Stephen Hess
|
ecf7a90f68
|
add test that req.clean.layers should be unmodified
|
8 years ago |
Stephen Hess
|
6e693db87e
|
added support for non-coarse req.clean.layers
|
8 years ago |
Stephen Hess
|
28b459d9ba
|
allow api.pipService even though it will be ignored
|
8 years ago |
Stephen Hess
|
2bc12d0d72
|
added support for pip retries and timeout in schema
|
8 years ago |
Stephen Hess
|
88882d0199
|
added services.pip to successful test
|
8 years ago |
Stephen Hess
|
aa09419b9c
|
removed support for api.pipService (relocated to api.services)
|
8 years ago |
Stephen Hess
|
914e508e41
|
added pip config + tests to schema
|
8 years ago |
Stephen Hess
|
143971e43e
|
use url.resolve to eliminate duplicate slashes
|
8 years ago |
Stephen Hess
|
1f6b6b1ed0
|
finished conversion to use generic http/json service
|
8 years ago |
Stephen Hess
|
e97950c142
|
adapted coarse reverse controller to generic service
|
8 years ago |
Stephen Hess
|
dd172d782e
|
added PointInPolygon service configuration
|
8 years ago |
Stephen Hess
|
50e3121f9a
|
added tests for placeholder service
|
8 years ago |
Stephen Hess
|
5a8ddd6268
|
added debug logging for sorting
|
8 years ago |
Stephen Hess
|
234f9f9738
|
fixed bug where _geonames_warnings was throwing exception on undefined clean.parsed_text
refactored a bit for clarity
|
8 years ago |
Stephen Hess
|
238b49a0d8
|
added should_execute to sortResponseData
|
8 years ago |
Stephen Hess
|
c602794ed8
|
added predicate for finding results at given layers
|
8 years ago |
Stephen Hess
|
c5f16e32ad
|
added support for `boundary.rect` and `boundary.circle`
- tigthened up parsing of string-ish numbers to deal with lodash weirdness
- added lots of guard clauses to deal with bad data
|
8 years ago |
Stephen Hess
|
ba7a81123c
|
added support for popularity from placeholder
|
8 years ago |
Stephen Hess
|
2ad3bec3b4
|
added guard clause for string/negative population
|
8 years ago |
Stephen Hess
|
5d7a467909
|
added response data sorting middleware
|
8 years ago |
Stephen Hess
|
d1b87235c4
|
pull population from placeholder repsonse
|
8 years ago |
Stephen Hess
|
8429e0f22a
|
added response data sorting middleware
|
8 years ago |
Stephen Hess
|
a6f6d3d6cd
|
filter out results and hierarchies that don't match boundary.country
|
8 years ago |
Stephen Hess
|
83101505c0
|
removed support for alpha3 since it's not used anywhere
|
8 years ago |
Stephen Hess
|
8a14dcc48a
|
guard clauses, more tests, code cleanup
|
8 years ago |
Diana Shkolnikov
|
c1daf18d68
|
fix tests
|
8 years ago |
Stephen Hess
|
8ebae9a2ae
|
added warnings/errors when sources includes geonames
|
8 years ago |