You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Harish Krishna aa721b8749 moving groovy scripts to a file on disk @ elasticsearch/config/scripts to avoid dynamic script loading look at http://www.elasticsearch.org/blog/running-groovy-scripts-without-dynamic-scripting/ and https://github.com/pelias/scripts 10 years ago
controller switching searchType from the default 'query_then_fetch' to 'dfs_query_then_fetch' because we have multiple shards in prod http://www.elasticsearch.org/blog/understanding-query-then-fetch-vs-dfs-query-then-fetch/ 10 years ago
docs Documentation and some ciao tests 10 years ago
helper Revert "adding geoname to coarse [experimental]" 10 years ago
middleware delete search middleware 10 years ago
query moving groovy scripts to a file on disk @ elasticsearch/config/scripts to avoid dynamic script loading look at http://www.elasticsearch.org/blog/running-groovy-scripts-without-dynamic-scripting/ and https://github.com/pelias/scripts 10 years ago
sanitiser Revert "adding geoname to coarse [experimental]" 10 years ago
service cleanup + tests 10 years ago
src refactor/ add more tests 10 years ago
test moving groovy scripts to a file on disk @ elasticsearch/config/scripts to avoid dynamic script loading look at http://www.elasticsearch.org/blog/running-groovy-scripts-without-dynamic-scripting/ and https://github.com/pelias/scripts 10 years ago
.gitignore current dev branch 10 years ago
.jshintignore adding jshintignore and jshintrc, pre commit hook js lint 10 years ago
.jshintrc adding jshintignore and jshintrc, pre commit hook js lint 10 years ago
.travis.yml drop node 11 from travis 10 years ago
EXAMPLES.md add examples 10 years ago
README.md Added Gitter badge 10 years ago
app.js search/coarse endpoint 10 years ago
index.js fixing all the js lint related issues (lintified) 10 years ago
package.json using suggester-pipeline instead of pelias-model 10 years ago

README.md

API

![Gitter](https://badges.gitter.im/Join Chat.svg)

Pelias RESTful API

Documentation

API Documentation

Install Dependencies

$ npm install

Contributing

Please fork and pull request against upstream master on a feature branch.

Pretty please; provide unit tests and script fixtures in the test directory.

Start Server

$ npm start

Running Unit Tests

$ npm run unit

Running Functional Tests

(this requires the server to be running)

$ npm run ciao

Running All Tests

$ npm test

Generate API Documentation

$ npm run docs

Continuous Integration

Travis tests every release against node version 0.10

Build Status