80 Commits (8d532adb3fdf897cea2bc9f87e0658afca208325)

Author SHA1 Message Date
Stephen Hess 8c12452fff added hardcoded values in tests where text-analyzer was being used before 8 years ago
Diana Shkolnikov 1df1a0765c Add categories filter to search query 8 years ago
Peter Johnson 7f18561595 remove focus.viewport API 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 2398f05f8d fix borough matching for both autocomplete and search endpoints 9 years ago
Stephen Hess bd3b8e7bbe switched to pelias-text-analyzer package since that responsibility has been moved to there 9 years ago
Peter Johnson 0abda099a6 bugfixes and more tests 9 years ago
Diana Shkolnikov e9ceb25ca0 Fix crash when dedupe was comparing arrays as stings for parent properties 9 years ago
Diana Shkolnikov af8044ef29 Fix all unit tests 9 years ago
Peter Johnson db5a78623a disable viewport scale 9 years ago
Peter Johnson f1ead56e60 disable viewport scale 9 years ago
Diana Shkolnikov 9fa5fc5a77 calcSize became middleware (exposed and fixed bug in query defaults) 9 years ago
Julian Simioni 59b70f7c7e Rename helper/query_parser to helper/text_parser 9 years ago
Stephen Hess d732021d5e fixed tests 9 years ago
Peter Johnson 56591abe97 remove all references to tiebreaking groovy scripts 9 years ago
Stephen Hess dcadc7832e add focus:scale to /search requests with just viewport.*, calculated from bounding box diagonal, minimum of 1 9 years ago
Julian Simioni 57fb960471 Set centerpoint of viewport in search query 9 years ago
Peter Johnson 82ab899ecc progress commit 9 years ago
Julian Simioni f3acf3b308 Check for numeric value of lat/lon to avoid null island bug 9 years ago
Julian Simioni 190304b039 Use flat structure for focus.point.{lat|lon} in query/search.js 9 years ago
Julian Simioni 4260442f59 Change boundary.circle params to flat string structure 9 years ago
Stephen Hess a4c43ee482 added fixture for boundary.country in query building 9 years ago
Julian Simioni 040871cbe4 Whitespace 9 years ago
Peter Johnson d568c031a3 move stringify logic to tests, code clean up 9 years ago
Peter Johnson 2f8169ac10 remove unused sort conditions 9 years ago
Peter Johnson 22322eaa32 change param:input to param:text 9 years ago
Harish Krishna 86424b8bbe Rename `/search?input`, replacing it with '/search?text' parameter instead 9 years ago
Julian Simioni 6f92189519 Remove default_layers_set flag! 9 years ago
Julian Simioni 7a6ac8541b Separate concerns of address parser 9 years ago
Peter Johnson f5e182c63b fix tests, clean by moving fixtures to fixtures dir 9 years ago
Julian Simioni 3ff1752434 Remove default_layers_set flag! 9 years ago
Julian Simioni b9152dbe29 Separate concerns of address parser 9 years ago
Peter Johnson 776b0ce1e1 update unit test 9 years ago
Diana Shkolnikov 49d439425e Use address_weights.js in tests instead of hardcoding boost values 9 years ago
Diana Shkolnikov ab436d5dfb Search query builder not checking all available admin values 9 years ago
Peter Johnson d8e86d5f17 phrase slop query modifications 9 years ago
Harish Krishna b3d958fe5a Revert "match the whole query with phrase.default" 9 years ago
Harish Krishna 1c763eeb75 match the whole query with phrase.default 9 years ago
Harish Krishna b57621c0a9 removing admin2 match from the full valid address match 9 years ago
Harish Krishna d6bcc1b400 test search query for valid address full & partial 9 years ago
Harish Krishna 36cc6415d0 tests search 9 years ago
Harish Krishna 708c24195d adding admin_boost 9 years ago
Harish Krishna f78f49d857 moving sort logic.. popularity then population first! 9 years ago
Harish Krishna 5a052627af Revert "fix broken test" 9 years ago
Harish Krishna 68dbf1bd2e fix broken test 9 years ago
Harish Krishna 5025b66a91 adding admin_weights instead of just boosting admin0 9 years ago
Harish Krishna 049a96efd6 flipping the popularity population order 9 years ago
Peter Johnson e95c2efb54 resolves #139 9 years ago
Peter Johnson 0cf282767a remove exact_match script 9 years ago
Harish Krishna 050c11ec0b just using a forked version of addressIt that focuses on US addresses (for now), modifying search queries and ignoring tests for now 10 years ago