Julian Simioni
204f5297de
Remove all leading newlines in files
7 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
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
Alec Vulfson
31adf09870
Using new layers view to filter layers
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
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
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
e093a09a8d
remove search related improvements from this PR
9 years ago
missinglink
0c67347c27
enable borough for search
9 years ago
missinglink
2398f05f8d
fix borough matching for both autocomplete and search endpoints
9 years ago
missinglink
25ab63c3b3
change search analyzer to be more similar to what we had before the autocomplete_refactor milestone
9 years ago
Peter Johnson
aa3e764e49
update analyzers to work with https://github.com/pelias/schema/pull/109
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
af8044ef29
Fix all unit tests
9 years ago
Diana Shkolnikov
9fa5fc5a77
calcSize became middleware (exposed and fixed bug in query defaults)
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
Peter Johnson
8ceac4cbb0
change modifier function from sqrt() to log1p() and adjust max_boost
9 years ago
Peter Johnson
481a65a4f9
population twice as important as popularity
9 years ago
Peter Johnson
cb679888ff
better population and popularity boosting
9 years ago
Peter Johnson
80f419846d
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
9 years ago
Peter Johnson
fa209c9b50
add autocomplete route, further query clean up
9 years ago
Peter Johnson
f5e182c63b
fix tests, clean by moving fixtures to fixtures dir
9 years ago