Diana Shkolnikov
1df1a0765c
Add categories filter to search query
8 years ago
Julian Simioni
76e54bf7d3
Update test expectations to be better!
...
addressit can now detect that "new york" the state should be abbreviated
"NY".
8 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.
8 years ago
Alec Vulfson
31adf09870
Using new layers view to filter layers
8 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
8 years ago
Peter Johnson
d3cd14e304
disable focus for single token queries, use constant_score for ngrams matching
8 years ago
Peter Johnson
52c35cb37d
allow single non-numeric chars, change boost_mode to 'replace' for function_score queries
8 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
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
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
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
missinglink
e40c9ef326
increase focus weight from 10->40 and simplify population/popularity subview
9 years ago
missinglink
3a789b4a93
increase autocomplete 'phrase:slop' setting from 2->3
9 years ago
Peter Johnson
aa3e764e49
update analyzers to work with https://github.com/pelias/schema/pull/109
9 years ago
Peter Johnson
63301afeac
wow this is easy to get wrong, added a unit test
9 years ago
Peter Johnson
0abda099a6
bugfixes and more tests
9 years ago
Vesa Meskanen
0064f6f257
Add two new test entries to test neighbourhood and locality in deduping
9 years ago
Diana Shkolnikov
74467e91e6
Update tests and fixtures
9 years ago
Diana Shkolnikov
ab5004273b
Fix unit tests due to new version of pelias-query
9 years ago
Peter Johnson
a4f6e70d25
upgrade to pelias-query@6.1.0
9 years ago
Diana Shkolnikov
aff146aec3
Fix local naming convention and confidence score middlewares
9 years ago
Vesa Meskanen
827788e16c
Revert "Dedupe unit test data for testing missing attributes"
...
This reverts commit 6430930cb5
.
9 years ago
Vesa Meskanen
6430930cb5
Dedupe unit test data for testing missing attributes
...
Test data has two otherwise identical entries, but the latter
one lacks some attributes. It should be considered as a duplicate.
9 years ago
Julian Simioni
3a85392862
Update _type value in ES response fixtures
...
osmnode and osmway are not types anymore!
9 years ago
Diana Shkolnikov
af8044ef29
Fix all unit tests
9 years ago
missinglink
67449dcae0
Tweak weights for focus
9 years ago
missinglink
ce292baeaf
fixes for focus.point to work with wof integration
9 years ago
missinglink
6711aa45e0
simplify pass 1
9 years ago
missinglink
3b4d566b11
add unit test
9 years ago
Diana Shkolnikov
df93be7543
Fix deduping for non-ascii strings
9 years ago
Peter Johnson
db5a78623a
disable viewport scale
9 years ago
Peter Johnson
f1ead56e60
disable viewport scale
9 years ago
Diana Shkolnikov
9fa5fc5a77
calcSize became middleware (exposed and fixed bug in query defaults)
9 years ago
Diana Shkolnikov
42d940f8c8
Add simple normalizer (lowercase + remove punctuation)
9 years ago
Diana Shkolnikov
54187dde67
Add dedupe middleware
...
Dedupe middleware removes __exact__ dupes and truncates the results
to the specified size.
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Stephen Hess
d732021d5e
fixed tests
9 years ago
Peter Johnson
8ceac4cbb0
change modifier function from sqrt() to log1p() and adjust max_boost
9 years ago
Peter Johnson
2ce249ad30
adjust balance between population/popularity and focus
9 years ago
Peter Johnson
481a65a4f9
population twice as important as popularity
9 years ago