Hi
I want to index close to 900,000 documents but it is taking quite long. I
have defined a mapping which contains indexes is on the lines of:
indexes :residencies_with_year, type: 'string', :as =>
'residencies_obj.map{|r| ExpertProfile.residency_with_year_to_s(r)}'
Thus I believe there are quite a few database queries as I'm indexing the
model. I'm using the default configuration number of nodes =1, number of
shards=5, and number of replicas=1.
Each batch of 1000 documents is taking about 15 minutes.
How can I speed it up?
rake environment tire:import CLASS='Expert' FORCE=true
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.