132 Commits (935ac4f1b748096cf56799364240c616c3571f69)

Author SHA1 Message Date
Julian Simioni aa7942cbb9
Set up layer filtering for autocomplete and reverse 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 ee73774c89 add tokenizer, refactor how we determine if a token is 'complete' or 'incomplete' 9 years ago
missinglink 2398f05f8d fix borough matching for both autocomplete and search endpoints 9 years ago
missinglink 01a3233a7b add a view to boost exact matches 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 aa3e764e49 update analyzers to work with https://github.com/pelias/schema/pull/109 9 years ago
Peter Johnson 63301afeac wow this is easy to get wrong, added a unit test 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
missinglink 3b4d566b11 add unit test 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
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
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 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 dd9654657e Use flat clean structure in query/autocomplete.js 9 years ago
Julian Simioni 109c28a588 Use flat point.{lat|lon} in query/reverse.js 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
Stephen Hess a4c43ee482 added fixture for boundary.country in query building 9 years ago
Diana Shkolnikov feb1b0a6cd Update /reverse endpoint params and query as per API spec 9 years ago
Julian Simioni 040871cbe4 Whitespace 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 fa209c9b50 add autocomplete route, further query 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
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
Julian Simioni 2ebc935295 Rename query/indidces to query/types 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 24349a3839 Rename query/indidces to query/types 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