I am a beginner in symfony2 elastic search integration.
Currently my set up is simple with 5 shards and 1 node ( just one simple ubuntu node)
with symfony and elastic search installed and running.
How can I make indexing faster .I have millions of pictures and I am
using "caption" type to index it.
I run " php app/console fos:elastica:populate --no-reset
--index=search --type=picture --no-debug --batch-size=1000"
and it is taking too much time.(Around 2 hours)
I am also using bulk apis and I want to index million items but the
document suggests using "doc" , "source" ,"id" etc.
I am using perl code
use Search::Elasticsearch;
my $es = Search::Elasticsearch-new;
my $bulk = $es->bulk_helper(
index = 'search',
type = 'picture'
);
How could I populate all the indexes very quickly?
Can somebody please help
The above two methods dont work . I am sure I might be making mistakes using perl bulk library or using _bulk curl requests
Please advise
elasticsearch.yml changes require a restart which isn't practical, and setting index.refresh_interval there would (I imagine) only change the default setting for new indexes. The refresh interval setting can be changed on the fly for any index. Not sure about indices.memory.index_buffer_size.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.