2 Commits (ff5c66a269bd37f32e779e1fde5672f4b099c9cc)

Author SHA1 Message Date
Julian Simioni 204f5297de
Remove all leading newlines in files 7 years ago
Julian Simioni c5e5bbcf56
Add boundary.country filter to /v1/autocomplete 9 years ago
Peter Johnson d3cd14e304 disable focus for single token queries, use constant_score for ngrams matching 9 years ago
Peter Johnson 52c35cb37d allow single non-numeric chars, change boost_mode to 'replace' for function_score queries 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
missinglink e40c9ef326 increase focus weight from 10->40 and simplify population/popularity subview 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
missinglink 67449dcae0 Tweak weights for focus 9 years ago
missinglink 6711aa45e0 simplify pass 1 9 years ago
missinglink 3b4d566b11 add unit test 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 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