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

cannot index a single document #19

Open
rrphotosoft opened this issue Mar 30, 2015 · 1 comment
Open

cannot index a single document #19

rrphotosoft opened this issue Mar 30, 2015 · 1 comment

Comments

@rrphotosoft
Copy link

Hi,
I have added the gem 'mongoid-elasticsearch' to my gemfile.
In a model that I want to index, i have added the line

elasticsearch!

When I create documents, nothing happens, they do not show up in elasticsearch.
The documentation is really very thin on what is the exact installation process.
Can you please elaborate?

Thanks.
Rr.

@rishijain
Copy link

@rrphotosoft You can try these few things:

  1. Make sure that your elasticsearch server is running (usually at 9200).
  2. Also see http://localhost:9200/_cat/indices?v on browser to check if any index is created.

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