Alec Vulfson
254b7ff66b
Updated warning for boundary.circle
9 years ago
Julian Simioni
76e54bf7d3
Update test expectations to be better!
...
addressit can now detect that "new york" the state should be abbreviated
"NY".
9 years ago
avulfson17
61ac4a99c1
add test for borough in geonames
9 years ago
Peter Johnson
7f18561595
remove focus.viewport API
9 years ago
Peter Johnson
39e3156019
typo
9 years ago
Peter Johnson
c317d4f321
fix/improve coordinate wrapping function, added more tests
9 years ago
Peter Johnson
5b8a9a31d2
wrap coordinates at poles
9 years ago
Julian Simioni
8cae743c80
Handle empty country_a values as well
9 years ago
Julian Simioni
f18e278e51
Handle case where record has no region_ a field
9 years ago
Julian Simioni
aa7942cbb9
Set up layer filtering for autocomplete and reverse
...
This was missed by me when working on https://github.com/pelias/api/pull/580 , but caught by the acceptance tests!
Unfortunately it was caught after going to production.
9 years ago
Julian Simioni
b7288aca15
Update ciao test data script
9 years ago
Julian Simioni
2557c68368
Use index name from config in controllers
9 years ago
Julian Simioni
fabf978ec1
Whitespace
9 years ago
Alec Vulfson
31adf09870
Using new layers view to filter layers
9 years ago
Alec Vulfson
2092cf2e15
Shows county in label if there isnt a locality or local admin
9 years ago
Alec Vulfson
4dc0f90088
Allow shortened names of sources to be used in gid
9 years ago
Alec Vulfson
35e548ef15
Updating list of layers for Geonames
9 years ago
Peter Johnson
5964e57faa
change ngram analyzer used in /search to peliasQueryFullToken from peliasIndexOneEdgeGram. this will have a positive effect on performance due to less tokens being produced
9 years ago
Peter Johnson
d3cd14e304
disable focus for single token queries, use constant_score for ngrams matching
9 years ago
Peter Johnson
52c35cb37d
allow single non-numeric chars, change boost_mode to 'replace' for function_score queries
9 years ago
missinglink
4b98b5e519
focus minimum set to 0km instead of 1km
9 years ago
missinglink
cb35f37312
focus minimum set to 0km instead of 1km
9 years ago
Vesa Meskanen
e22b973cdf
Do not consider absence of an additional name as a difference
...
OSM data includes two almost identical 'Keskustori, Tampere' entries.
The second one does not have additional 'name.ru' property. This is
no longer considered as a difference in deduping.
9 years ago
Julian Simioni
c9d87f7b0c
Add a separate default distance for coarse reverse
9 years ago
Julian Simioni
16d0a8b539
Rename test to clarify layers matter
9 years ago
Julian Simioni
05baed7b51
Whitespace
9 years ago
Julian Simioni
4069c99212
Remove unused sanitiser test
...
The sanitiser got removed at some point, but the tests remained.
9 years ago
Diana Shkolnikov
1435de906d
Add source_id property
9 years ago
Julian Simioni
23ff51fd57
Add custom access_log handlers that remove user info
...
These handlers will remove sensitive query info from the logs when DNT
is enabled
9 years ago
Julian Simioni
9e12c650d0
Add logging helper module
...
This module has helper methods for logging. Currently it has methods to:
* detect if DNT is enabled
* remove sensitive information from input fields for logging
9 years ago
Peter Johnson
cb67dd58d8
refactor boolean query filtering as per: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_query_dsl_changes.html#_literal_filtered_literal_query_and_literal_query_literal_filter_deprecated
9 years ago
Peter Johnson
dd5215cbae
upgrade to ES2+
9 years ago
Peter Johnson
63d9329afd
add additional test case
9 years ago
Peter Johnson
0caca08787
improve error matching by using string prefix matching on known elasticsearch exception names
9 years ago
Peter Johnson
b15cfb3795
refactor elasticsearch error detection, improve test coverage
9 years ago
Julian Simioni
373a08e79b
Set all admin boosts to 1
...
They seem to interfere with the new multi_match query. More tweaking in
the future is definitely warranted.
9 years ago
Julian Simioni
ab19a12e1c
Use multi_match query for admin fields
9 years ago
missinglink
05240626fd
handle addressit case where parsed_text.street is produced and parsed_text.name is not
9 years ago
missinglink
ee73774c89
add tokenizer, refactor how we determine if a token is 'complete' or 'incomplete'
9 years ago
missinglink
e093a09a8d
remove search related improvements from this PR
9 years ago
missinglink
0c67347c27
enable borough for search
9 years ago
missinglink
da4c666538
reduce admin:borough:boost from 800->600
9 years ago
missinglink
2398f05f8d
fix borough matching for both autocomplete and search endpoints
9 years ago
missinglink
01a3233a7b
add a view to boost exact matches
9 years ago
missinglink
25ab63c3b3
change search analyzer to be more similar to what we had before the autocomplete_refactor milestone
9 years ago
Stephen Hess
bd3b8e7bbe
switched to pelias-text-analyzer package since that responsibility has been moved to there
9 years ago
Stephen Hess
9cdfce13c1
fixed extraneous comma labels for results with only a `name`
9 years ago
Stephen Hess
2c40827701
added `layer=borough` support for *all 5 boroughs* in data
9 years ago
missinglink
e40c9ef326
increase focus weight from 10->40 and simplify population/popularity subview
9 years ago
Stephen Hess
0076200728
added special case for USA in labels
...
if record is for literal United States, use the full name, otherwise use USA
9 years ago