Julian Simioni
abb4fa6113
Adjust autocomplete focus boost
...
This lowers the autocomplete focus boost from 40 to 15. The idea is
that, because the boost for population is 20, the focus can't possibly
override a popular city, but it can come close.
On our default dev build, no acceptance tests fail but the san francisco
autocomplete test now passes!
It's not clear if this fixes WOF venue issues yet, since the latest
build there failed :(
8 years ago
Stephen Hess
bb285cf0a5
bumped query hash, updated test
8 years ago
Stephen Hess
8c896695d1
tied query version to specific hash, updated tests
8 years ago
Stephen Hess
31f5cc2537
bumped query version, updated query name changes + boosts
8 years ago
Stephen Hess
be2a336038
updated naming from component to structured
8 years ago
Stephen Hess
7aad07368d
modified tests to accommodate changes to ComponentFallbackQuery
8 years ago
Stephen Hess
d2c32b5afd
added unit tests for component_geocoding query
...
started folder structure for fixture as it's getting unwieldy
8 years ago
Julian Simioni
78cc4a5de3
Add boundary.rect handling to query/autocomplete
8 years ago
Stephen Hess
4dbaff6589
removed hard-coded `size`
...
effectively reverts https://github.com/pelias/api/pull/684
8 years ago
Stephen Hess
7555095399
added `boost:address` and `boost:street` to search defaults
...
bumped query version to 8.8.0
defaults are `10` and `5`, respectively
8 years ago
Stephen Hess
c7b07c271e
updated hardcoded ES query size to 50
8 years ago
Stephen Hess
b408b96948
hardcode size to 100 for FallbackQuery
8 years ago
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