18 Commits (332597c653c293ccf0d0db5fc1a2ab54ac803f56)

Author SHA1 Message Date
Severyn Kozak 332597c653 Fine-tune the admin boosting query. 10 years ago
Harish Krishna ef1a4c8aa6 adding all admin layers to the search query (including neirhborhood, locality and local_admin) 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
Harish Krishna 15c63e405c adding a naive reverse api endpoint (also, shares most of the search controller). updated search query to include a filter and a sort (calculating a bounding box, given a lat/lon) 10 years ago
Harish Krishna 5580485fd9 making full text search location aware 10 years ago
Harish Krishna 554bbc62d3 adding search api endpoint and test (lat/lon in the query pending) 10 years ago