Re: Number of threads for addDocument in parallel way

2019-06-02 Thread Erick Erickson
90+% of the time when I see this question it’s a problem with the client not being able to push docs at Solr fast enough. This is particularly true if databases are involved. In addition to Jörn’s comment, I’d ask whether your Solr CPUs are running flat out. If your CPUs aren’t maxed out, you n

Re: Number of threads for addDocument in parallel way

2019-06-02 Thread Jörn Franke
How many cpu cores does the Solr machine has? The best way would be also to shard the index across several machines. > Am 02.06.2019 um 08:45 schrieb calamita.agost...@libero.it.invalid: > > > > Ho all, > I've an ingestion application that reads many files and indexes records > in a SolrC

Re: Number of threads for addDocument in parallel way

2019-06-02 Thread Jörn Franke
And to send multiple documents in one add document step > Am 02.06.2019 um 08:45 schrieb calamita.agost...@libero.it.invalid: > > > > Ho all, > I've an ingestion application that reads many files and indexes records > in a SolrCloud 7.4 with SolrJ using addDocument. > The application is

Number of threads for addDocument in parallel way

2019-06-01 Thread calamita . agostino
Ho all, I've an ingestion  application  that reads many files and indexes  records  in a SolrCloud  7.4 with SolrJ using addDocument. The application is  multithreading, every thread reads a file and send addDocument. I see that from 10 to 30 threads executing addDocument in parallel, number of