108 Commits (d8ddfdc174a2b700b0f2a52149aa9e9d65dd5960)

Author SHA1 Message Date
Julian Simioni 66e1cab007 Whitespace 9 years ago
Stephen Hess 13635a2c16 added boundary.country to search and reverse queries (with test fixtures) 9 years ago
Peter Johnson 155337eb3f refactor text parsing to seperate module 9 years ago
Peter Johnson c0f20aabd3 refactor: clean up sorting conditions 9 years ago
Peter Johnson 36185197aa move query defaults to API repo 9 years ago
Peter Johnson d568c031a3 move stringify logic to tests, code clean up 9 years ago
Peter Johnson 72432066c6 add (commented) missing query params 9 years ago
Peter Johnson 22322eaa32 change param:input to param:text 9 years ago
Peter Johnson 1f13bafab0 refactor reverse & tests 9 years ago
Harish Krishna 86424b8bbe Rename `/search?input`, replacing it with '/search?text' parameter instead 9 years ago
Peter Johnson 34cd25a023 refactor leftovers for clarity 9 years ago
Peter Johnson 6f817938bc refactor search 9 years ago
Diana Shkolnikov d7871747e1 Fix bug introduced by moving leftovers.join into the if() statement 10 years ago
Diana Shkolnikov 743d8efa54 Remove proxyquire from adminField test 10 years ago
Diana Shkolnikov ab436d5dfb Search query builder not checking all available admin values 10 years ago
Peter Johnson d8e86d5f17 phrase slop query modifications 10 years ago
Harish Krishna b3d958fe5a Revert "match the whole query with phrase.default" 10 years ago
Harish Krishna 1c763eeb75 match the whole query with phrase.default 10 years ago
Harish Krishna 8afc5ff004 Revert "splitting admin_parts and input_regions check" 10 years ago
Harish Krishna 4a45e458ab splitting admin_parts and input_regions check 10 years ago
Harish Krishna 95c0e7461d TESTS! 10 years ago
Harish Krishna 2f49322fb7 removing the console.log 10 years ago
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 10 years ago
Harish Krishna 13e9aadeaf removing an outrageous if condition 10 years ago
Harish Krishna a2a0a50b85 fix the number of admin_parts 10 years ago
Harish Krishna c957cbaf4f bringing back admin2 10 years ago
Harish Krishna e149fed273 check yoself before you wreck yoself 10 years ago
Harish Krishna 81555745e4 reverting the revert 10 years ago
Harish Krishna 169612bee7 reverting phrase.default 10 years ago
Harish Krishna f5e18e9e17 just input 10 years ago
Harish Krishna ffcef3417a 4 admin fields 10 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
Diana Shkolnikov 061f151bc8 Revert "Use multi_match in name.* for /search" 10 years ago
Peter Johnson 4770f0660f multi_match -> match 10 years ago
Peter Johnson 60a02315ae enable shingle matching 10 years ago
Peter Johnson d80008d098 pedantry: fix indentation and code comment 10 years ago
Harish Krishna 0b5b1dce85 address parser initial pass - breaks 68 tests! (ignoring tests for now) 10 years ago
Diana Shkolnikov 3697627fb7 Use multi_match in name.* for /search 10 years ago
Severyn Kozak a007af3572 Replace src/logger with pelias-logger. 10 years ago
Severyn Kozak 144b72cb16 Boost results with exact text matches when _score ties. 10 years ago
Harish Krishna a427c058f7 adding admin1_abbr and admin2 to the admin_fields array 10 years ago
Harish Krishna 2127ebe258 switching to bool with a 'must' match (AND) and a few 'should's (OR) 10 years ago
Harish Krishna 1a740f16df sorting function based on population and weights plus tests 10 years ago
Harish Krishna 91abc11f29 adding a line break for readability 10 years ago
Harish Krishna a4bd350f2e using elasticsearch-backend#centroid-optional queries for search 10 years ago
Harish Krishna 650e88d79f making geo bias optional - first pass with all tests passing 10 years ago
Harish Krishna ebf162f29e search with optional bbox - initial commit +tests 10 years ago
Peter Johnson 8b97976022 refactor search query 10 years ago
Harish Krishna 57f969117e fixing the bbox issue. constructing a 20km bbox and not some insanely big bounding box. 10 years ago
Peter Johnson d637c5630b formatting 10 years ago