Stephen Hess
24d81b754f
updated fixtures for latest query
8 years ago
Stephen Hess
cf1aeec4e1
fixed tests for latest query changes
8 years ago
Stephen Hess
9f350eb117
updated tests to reflect changes to query module
8 years ago
Diana Shkolnikov
e33c58bd42
Remove empty arrays from ES fixture
8 years ago
Diana Shkolnikov
a8e82b018d
Refactor deduper and write additional tests
8 years ago
Stephen Hess
8339a66e91
updated query module to branch from hashcode
...
fixed tests to use `boost_mode` value of `multiply` instead of `replace`
8 years ago
Stephen Hess
876782ed3a
enabled all scores and filters
...
adjusted tests to account for new querying strategies, renamed all existing test fixture files to `*_original`. pointed query module to a PR for testing.
8 years ago
Stephen Hess
d682468096
adapted tests to latest query module output
8 years ago
Stephen Hess
c257eb5fc3
added tests for new queries
...
left in place but commented out tests that will be supported when boundary, focus, and sources/layers issues are resolved.
8 years ago
Julian Simioni
c5e5bbcf56
Add boundary.country filter to /v1/autocomplete
8 years ago
Diana Shkolnikov
b0aab1afd3
Fixed broken test due to rebase with changes from master.
8 years ago
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