Julian Simioni
6014786162
Revert "Update pelias-query to the latest version 🚀 "
8 years ago
Julian Simioni
81b52fafaf
Use bool instead of filtered queries in fixtures
...
This is needed for Elasticsearch 5 support as part of https://github.com/pelias/pelias/issues/461
8 years ago
Diana Shkolnikov
fe38d2336d
feat: allow postalcode-only structured queries
8 years ago
Diana Shkolnikov
a52691c61e
feat: search by postalcode
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
24d81b754f
updated fixtures for latest query
8 years ago
Stephen Hess
9f350eb117
updated tests to reflect changes to query module
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
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
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
missinglink
25ab63c3b3
change search analyzer to be more similar to what we had before the autocomplete_refactor milestone
9 years ago
Peter Johnson
0abda099a6
bugfixes and more tests
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
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