Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not know how to user it #3

Open
clodio opened this issue Feb 22, 2015 · 1 comment
Open

do not know how to user it #3

clodio opened this issue Feb 22, 2015 · 1 comment

Comments

@clodio
Copy link

clodio commented Feb 22, 2015

I follow the documentaton but it is not working

npm install waterline-elasticsearch
Add configuration in th config/connection.js
{
adapter: 'sails-elasticsearch',
hosts: ['http://127.0.0.1:9200'],
keepAlive: false,
sniffOnStart: true,
maxRetries: 10,
deadTimeout: 40000,
sniffOnConnectionFault: true,
apiVersion: '1.3'
},

i have an error with sails lift
error: Trying to use unknown adapter, "sails-elasticsearch", in model user.
error: Are you sure that adapter is installed in this Sails app?
error: If you wrote a custom adapter with identity="sails-elasticsearch", it should be in this app's adapters directory.
error: Otherwise, if you're trying to use an adapter named sails-elasticsearch, please run npm install sails-elasticsearch@0.11.x

@TomMeulendijks
Copy link

run npm install sails-elasticsearch or change adapter sails-elasticsearch from to waterline-elasticsearch

marsanla pushed a commit that referenced this issue Jul 14, 2016
Add a Gitter chat badge to README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants