3 Commits (24ef0a43617c876b0568e6f8020b8b23dd03991c)

Author SHA1 Message Date
Stephen Hess 02cfa36d24 switched structured query tests away from fixtures 7 years ago
Stephen Hess 31f5cc2537 bumped query version, updated query name changes + boosts 8 years ago
Stephen Hess be2a336038 updated naming from component to structured 8 years ago
Stephen Hess d2c32b5afd added unit tests for component_geocoding query 8 years ago
Stephen Hess 08f4aa4b95 renamed files to be more indicative of what the function is 8 years ago
Stephen Hess d03a8c4586 added support for component geocoding 8 years ago
Diana Shkolnikov 9ff383cc2b change the query module interfaces back to simple functions 8 years ago
Diana Shkolnikov 3888ae0385 change query module interfaces to allow for additional meta data 8 years ago
Stephen Hess 484af8c044 changed from `text_parser` to `text_parser_addressit` 8 years ago
Stephen Hess e01ef7ac4d copied the existing search query logic back in 8 years ago
Stephen Hess 85dab16869 refactored search sanitiser tests 8 years ago
Stephen Hess 0aebf81ace support new querying model 8 years ago
Stephen Hess 0166940e1a added debug 8 years ago
Diana Shkolnikov 1df1a0765c Add categories filter to search query 9 years ago
Peter Johnson 7f18561595 remove focus.viewport API 9 years ago
Alec Vulfson 31adf09870
Using new layers view to filter layers 9 years ago
Julian Simioni d7eacaf59e
Fix mistaken order of parameters 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
Peter Johnson 63301afeac wow this is easy to get wrong, added a unit test 9 years ago
Diana Shkolnikov f3ba492e05 Remove all usage of alpha3/admin0/admin1, update query building to reflect new names in pelias-query 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 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
Diana Shkolnikov 54187dde67 Add dedupe middleware 9 years ago
Peter Johnson 49d37eafed one config per query 9 years ago
Peter Johnson cb679888ff better population and popularity boosting 9 years ago
Peter Johnson 56591abe97 remove all references to tiebreaking groovy scripts 9 years ago
Stephen Hess a26bf0b9a8 switched to Math.max to avoid the explicit conditional 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 87ce3bd92e flip lon values for boundary.rect 9 years ago
Peter Johnson 80f419846d admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches 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
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