We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, i'm using Sunspot Solr for indexing and searching in our Ruby on Rails application with MangoDB database (Mongo mapper)
The searching works well, but objects aren't automatically indexed to Solr when i make changes on my database.
I tried manually index on a class itself:
Top.reindex Sunspot.commit
Top.reindex
Sunspot.commit
Or, I added on sunspot.yml :
auto_commit_after_request: true
auto_commit_after_request:
I also autocommit with some interval on solrconfig.xml :
<autoCommit> <maxDocs>10000</maxDocs> <maxTime>15000</maxTime> </autoCommit>
<autoCommit>
<maxDocs>10000</maxDocs>
<maxTime>15000</maxTime>
</autoCommit>
All this solutions failed to reindex automatically my objects, unless i reindex all objects with rake task :
bundle exec rake sunspot:reindex
Any other solutions ?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
i'm using Sunspot Solr for indexing and searching in our Ruby on Rails application with MangoDB
database (Mongo mapper)
The searching works well, but objects aren't automatically indexed to Solr when i make changes on my database.
I tried manually index on a class itself:
Top.reindex
Sunspot.commit
Or, I added on sunspot.yml :
auto_commit_after_request:
trueI also autocommit with some interval on solrconfig.xml :
<autoCommit>
<maxDocs>10000</maxDocs>
<maxTime>15000</maxTime>
</autoCommit>
All this solutions failed to reindex automatically my objects, unless i reindex all objects with rake task :
bundle exec rake sunspot:reindex
Any other solutions ?
Thanks a lot.
The text was updated successfully, but these errors were encountered: