Organizational Research By

Surprising Reserch Topic

Question:How can i manually reindex solr using sunspot?


There are a number of options that can be passed to solr_reindex. The same options as to index; from the documentation
index in batches of 50, commit after each
index all rows at once, then commit
Post.index(:batch_size => nil) 
index in batches of 50, commit when all batches complete
Post.index(:batch_commit => false) 
include the associated +author+ object when loading to index
Post.index(:include => :author) 

asked Sep 13, 2013 in SOLR by anonymous
edited Sep 12, 2013
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.