195 Commits (log-long-queries)

Author SHA1 Message Date
Peter Johnson 00fae29fad
update 500 middleware; add log statement, clean up code 8 years ago
Peter Johnson 1451e9038e
change all log labels to 'api' 8 years ago
Peter Johnson 09f97a371d
add logging for error handling edge cases 8 years ago
Stephen Hess be2a336038 updated naming from component to structured 8 years ago
Stephen Hess da72a968f9 switch importance of address/street 8 years ago
Stephen Hess 3bb6a30a9c preserve both `locality` and `borough` results when no `borough` supplied 8 years ago
Stephen Hess 8ae5b5c6f7 treat country and more granular than dependency 8 years ago
Stephen Hess e342a6b21d switched to `const` where appropriate 8 years ago
Stephen Hess 307fce8079 started conversion to ES6 8 years ago
Stephen Hess d03a8c4586 added support for component geocoding 8 years ago
Stephen Hess 916e7d6736 made `locality` and `localadmin` equivalent in fallback scoring 8 years ago
Stephen Hess c3451bbec0 added city input/results support 8 years ago
Stephen Hess d230367f02 changed the variable passed to the label generator 8 years ago
Stephen Hess 5be06ac1fa removed whitespace 8 years ago
Stephen Hess c8d32ddd14 moved `require`'d pelias-labels to "global" 8 years ago
Stephen Hess beb309ca07 moved assignLabels to fire before geojsonify 8 years ago
Stephen Hess 94eaafd39a setup labelGenerator to have a default 8 years ago
Stephen Hess 9b82763924 removed extraneous parameter 8 years ago
Stephen Hess 248b1299c8 added post-processing step to generate labels 8 years ago
Stephen Hess c14a1311f7 extracted labelGenerator to be injectable 8 years ago
Diana Shkolnikov a3fa49ee52 remove splice and replace with direct assignment 8 years ago
Diana Shkolnikov 24aadbe4a2 fix: increment geocodejson format version number in results 8 years ago
Diana Shkolnikov 3fe113645f feat: check for preferred record when dupe found 8 years ago
Diana Shkolnikov 30e42e2b80 cleanup variable name and add ciao test 8 years ago
Diana Shkolnikov 21d4bb63f3 feat: add accuracy field 8 years ago
Diana Shkolnikov cbf2d0ace5 fix broken ciao tests 8 years ago
Diana Shkolnikov fd3ec97ad0 add new confidence score computation for fallback query type 8 years ago
Diana Shkolnikov 9fd19242e7 make existing confidence score only handle the original query type 8 years ago
Stephen Hess df2ac8c91b added `street` to trimByGranularity 8 years ago
Stephen Hess d5e993fc11 included `localadmin`, `macrocounty`, `macroregion`, and `dependency` 8 years ago
Diana Shkolnikov a8e82b018d Refactor deduper and write additional tests 8 years ago
Stephen Hess af7de7613f updated to reflect @missinglink's comments 8 years ago
Stephen Hess 7495cad465 added middleware component to trim by result granularity 8 years ago
Stephen Hess 5f259d420b updated text-analyzer version, removed unused module 8 years ago
Stephen Hess c7e5ba2e2a added postprocessing step to trim by granularity 8 years ago
Stephen Hess abef8f1efa initial stab at generatePermutations 8 years ago
Diana Shkolnikov cc9c4148bb Refactor geojsonify code and add ability to pass in clean query params 9 years ago
Julian Simioni 8cae743c80
Handle empty country_a values as well 9 years ago
Julian Simioni f18e278e51
Handle case where record has no region_ a field 9 years ago
Diana Shkolnikov 2f4719f6e8 Add Czeck Republic 9 years ago
Vesa Meskanen 73f64ce3e1 Cleanup: tabs -> spaces 9 years ago
Vesa Meskanen e22b973cdf Do not consider absence of an additional name as a difference 9 years ago
Julian Simioni 23ff51fd57
Add custom access_log handlers that remove user info 9 years ago
Julian Simioni 57d1c8be1e
Return an object from access_log module 9 years ago
Julian Simioni ecb28bc3e9
Remove debug statements that print user parameters 9 years ago
Peter Johnson eb73ec7390 better comment 9 years ago
Peter Johnson 0caca08787 improve error matching by using string prefix matching on known elasticsearch exception names 9 years ago
Peter Johnson b15cfb3795 refactor elasticsearch error detection, improve test coverage 9 years ago
missinglink 1c9af40f3c remove query.tokens_complete and query.tokens_incomplete from geoJSON 9 years ago
Julian Simioni fd529ccee9
Use new express sendStatus method 9 years ago