212 Commits (61110ac2fe8548515c1abae559b74b7ad243d033)

Author SHA1 Message Date
Alec Vulfson af723cd430 Cleaned up code for accepting short sources in gid 9 years ago
Alec Vulfson 4dc0f90088 Allow shortened names of sources to be used in gid 9 years ago
Peter Johnson 52c35cb37d allow single non-numeric chars, change boost_mode to 'replace' for function_score queries 9 years ago
Julian Simioni c9d87f7b0c
Add a separate default distance for coarse reverse 9 years ago
Julian Simioni 05baed7b51
Whitespace 9 years ago
missinglink 05240626fd handle addressit case where parsed_text.street is produced and parsed_text.name is not 9 years ago
missinglink ee73774c89 add tokenizer, refactor how we determine if a token is 'complete' or 'incomplete' 9 years ago
Stephen Hess bd3b8e7bbe switched to pelias-text-analyzer package since that responsibility has been moved to there 9 years ago
Julian Simioni abbd314ee8 Change deprication message to present tense 9 years ago
Peter Johnson 51279ce2cf quattroshapes deprecation warning and wof fallback 9 years ago
Peter Johnson 00b123adfb enable ?source=s and ?layers params for autocomplete 9 years ago
Peter Johnson 8431763a12 fix handling of ?size= param for autocomplete 9 years ago
Julian Simioni d5b818ea84 Fix typo 9 years ago
Julian Simioni e97d72d7b6 Send warning when sources=quattroshapes 9 years ago
Julian Simioni 616dd606a7 Add sources and layers sanitiser 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Julian Simioni 9ec2cd41d9 Remove unused file: sanitiser/_source.js 9 years ago
Julian Simioni 769f190eab Replace depricated Lodash function unique with uniq 9 years ago
Julian Simioni cb7b38bc75 Replace check-types depricated unemptyString with nonEmptyString 9 years ago
Julian Simioni f4a5dd812b Replace depricated Lodash function contains with includes 9 years ago
Julian Simioni 0e78167f17 [/place] Accept any valid layer for geonames 9 years ago
Peter Johnson 49d37eafed one config per query 9 years ago
Julian Simioni db895c05b7 Rename `from_address_parser` key to `from_text_parser` 9 years ago
Julian Simioni b188a2046c Fix mismatching name of types preference parameter 9 years ago
Julian Simioni 59b70f7c7e Rename helper/query_parser to helper/text_parser 9 years ago
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 9 years ago
Julian Simioni 06b44e5355 Disallow specifying both focus.point and focus.viewport 9 years ago
Julian Simioni 9dcc296a70 Add focus.viewport rect sanitizer to search 9 years ago
Julian Simioni b84652ba20 Refactor sanitize_coord parameter handling 9 years ago
Stephen Hess 00d033101b removed redundant is-ids-an-array check (already covered by _single_scalar_parameter sanitizer) 9 years ago
Julian Simioni c3417a0ace Cleanup comments for usage of groups sanitizer 9 years ago
Julian Simioni b315adc6aa Use groups sanitiser in sanitize_circle 9 years ago
Julian Simioni 415029e02b Use groups sanitiser in sanitize_rect and sanitize_point 9 years ago
Julian Simioni aa08fb9772 Add optional and required group parameter sanitizers 9 years ago
Stephen Hess 1c066b65e7 switched undefined check to positive lodash call 9 years ago
Stephen Hess 2ba206f122 removed debug 9 years ago
Julian Simioni 2811569bcd Switch to source:layer:id ids format in /place 9 years ago
Julian Simioni d11d185429 Fix missing space in error message 9 years ago
Julian Simioni 2505e92a62 Expect an array of types from _ids sanitiser 9 years ago
Julian Simioni 882aad4916 Extract code to sanitize single id to separate function 9 years ago
Julian Simioni 8b1037d7c8 Separate real layers and alias layers into separate objects 9 years ago
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 9 years ago
Stephen Hess 56d8600218 modified warning message for brevity 9 years ago
Stephen Hess 5da4e4b36b removed unused variable 9 years ago
Stephen Hess 0f6d08c0ec set boundary.circle.radius to default if caller did not supply it 9 years ago
Stephen Hess 0595a29052 renamed parameters for readability 9 years ago
Stephen Hess 9fdddd3834 unrolled not-not conditional to positive conditional 9 years ago
Stephen Hess 947797f41e added warning if any of boundary.circle.lat/lon/radius are supplied + tests 9 years ago
Stephen Hess e16e2bbb4e fixed comment 9 years ago
Diana Shkolnikov 553f9780c5 Remove admin matching when address is not parsed 9 years ago