Diana Shkolnikov
4d0c23e742
remove code-climate hooks
10 years ago
Diana Shkolnikov
5101d802ab
remove code-climate hooks
10 years ago
Diana Shkolnikov
7b5a2fafb9
Change query to use `terms` and add code coverage stats
10 years ago
Diana Shkolnikov
1bf0fcd298
Add categories param to /reverse
10 years ago
Diana Shkolnikov
ffc19457a4
Merge pull request #108 from pelias/better-index-page
...
Better API index page
10 years ago
Diana Shkolnikov
45ba29cc54
Add categories param to /reverse
10 years ago
Severyn Kozak
29838e5b8c
Move code that needs to run only once.
...
controller/index.js
-Move all of the index page HTML "initialization" code that only
needs to run once, like markdown compilation and `style`
prepending, out of the request handler.
10 years ago
Diana Shkolnikov
99ee2d95a3
Change to readFileSync and update test to use proxyquire
10 years ago
Diana Shkolnikov
4f1b75ce94
Fix test name
10 years ago
Diana Shkolnikov
1d45b20268
Load markdown file into memory and check if client requested html
10 years ago
Harish Krishna
34a168060a
Merge pull request #107 from pelias/fix-error-msg
...
Layers be layers not layer (typo in the error message)
10 years ago
Harish Krishna
c2f7410916
Merge pull request #109 from pelias/fix-coarse
...
[Major bug fix] using coarse sanitizer for the coarse endpoint
10 years ago
Grant Heffernan
1fc624c957
DOCS update
10 years ago
Grant Heffernan
22d235907d
fix bbox italics in DOCS
10 years ago
Grant Heffernan
83dbdc7d41
DOCS formatting
10 years ago
Grant Heffernan
9e7e1455b5
a bit more DOCS cleanup
10 years ago
Grant Heffernan
6bff821c53
standardize some DOCS language, fix indentation
10 years ago
Grant Heffernan
189a768d05
more DOCS updates
10 years ago
Harish Krishna
b07d693d04
updates (added suggest/nearby)
10 years ago
Grant Heffernan
6506c84434
update DOCS.md for readability, etc
10 years ago
Harish Krishna
904cb696a0
using coarse sanitizer for the coarse endpoint
10 years ago
Harish Krishna
a91cb23ea4
adding a new file DOCS.md (same as https://github.com/pelias/api/wiki/API-Endpoints ), modifying controller/index.js to return text/html instead of application/json by default. Using markdown module to convert MD to HTML. Fixing tests (removed test/jsonp.coffee)
10 years ago
Harish Krishna
7667a898dd
param layers should be called layers consistently across the API
10 years ago
Harish Krishna
9502ab8854
fixing failing tests
10 years ago
Harish Krishna
38e1c58c94
Merge pull request #96 from pelias/bbox-optimize
...
Bbox optimize
10 years ago
Harish Krishna
94b044d179
using elasticsearch-backend 0.0.12
10 years ago
Harish Krishna
46f487d819
Merge pull request #98 from pelias/add-layers
...
adding 'locality', 'local_admin' to the list of layers
10 years ago
Harish Krishna
3968034f80
Merge pull request #90 from pelias/suggester-fix
...
Allow consumers to filter suggestions by layer on '/suggest'
10 years ago
Harish Krishna
b4bd69abd2
Merge pull request #92 from pelias/suggest-requires-geo
...
Suggest requires geo
10 years ago
Harish Krishna
baec480e48
Merge pull request #89 from pelias/null-island-bug
...
Null island bug Fix
10 years ago
Harish Krishna
5094ecb25e
adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests
10 years ago
Harish Krishna
f13f1cdf2c
tests
10 years ago
Harish Krishna
b51db53213
using an optimized bbox query
10 years ago
Harish Krishna
5b34767e8e
tests for sanitizer/search (tests optional geo basically in addition to the usual stuff - suggest/search sanitizer tests should eventually be merged)
10 years ago
Harish Krishna
217a5c1049
seperating suggest and search sanitizers because suggest requires geoBias (lat/lon) until ES 2.0.0 lands.
10 years ago
Harish Krishna
e586b49d1d
tests - that check if the layers are being set correctly for suggesters and using query mixers right
10 years ago
Harish Krishna
898896bc24
giving request layers higher precedence (compared to the layers specified in queryMixer)
10 years ago
Harish Krishna
ec2507f155
tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers)
10 years ago
Harish Krishna
7a8422025a
latlon is a required field for reverse (updated _geo sanitizer) and added ability to filter by layers on /reverse
10 years ago
Harish Krishna
7265651b4c
Merge pull request #81 from pelias/script-readme
...
adding script dependency to README
10 years ago
Harish Krishna
73bf83275e
Merge pull request #71 from pelias/add-popularity
...
adding popularity to sort scoring function list
10 years ago
Harish Krishna
b8ede3680e
adding script dependency
10 years ago
Harish Krishna
28e3d3943e
consistent naming convention
10 years ago
Harish Krishna
5e9d0a432e
Merge branch 'master' into add-popularity
...
Conflicts:
test/unit/query/reverse.js
test/unit/query/search.js
10 years ago
Peter Johnson a.k.a. insertcoffee
0571e4faa1
Merge pull request #76 from pelias/type_property_deprecation
...
deprecate 'type' property, see PR notes
10 years ago
Peter Johnson
ff757decb4
deprecate 'type' property, see PR notes
10 years ago
Harish Krishna
f74b2c50e9
Merge pull request #68 from pelias/split-comma-admin
...
Analyzing the query to find admin values
10 years ago
Harish Krishna
30faa64763
Merge pull request #73 from pelias/admin_boost
...
boosting admin0 values
10 years ago
Harish Krishna
2d861aea7f
boosting admin0 values
10 years ago
Peter Johnson a.k.a. insertcoffee
3d8f6b3f9a
Merge pull request #72 from pelias/remove_toobusy
...
remove toobusy module
10 years ago