Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

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

Government Jobs Opening