You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lyuba Romanchuk <ly...@gmail.com> on 2012/11/07 17:26:43 UTC

The question about ConcurrentUpdateSolrServer

Hi,
If I run my application that uses solrj API (ConcurrentUpdateSolrServer
with buffer 10 and thread count 2) I get the logs (see below) with only two
rows like "*Status for: <uid> is 200". *
Does it mean that only two http requests were send?
The application indexes 2,500,000 different documents, and this is the
number of docs that I get in web ui. But I thought that I should see a lot
of rows like this not only 2, something like ~250,000.

*17:47:42,842  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
*17:47:43,122  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
*17:47:43,128  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
*17:47:43,539  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:121 - starting
runner:
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@3bc8c52e
*
*17:47:43,539  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:121 - starting
runner:
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@7a096dab
*
*17:50:46,257  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:200 - Status
for: 5e41920f-b49b-4062-8f01-06e3d36926c9 is 200*
*17:50:46,257  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:200 - Status
for: 185b1dfd-d0b7-4f75-bfc5-1e38e89a05f2 is 200*
*17:50:46,258  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:240 -
finished:
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@3bc8c52e
*
*17:50:46,258  INFO
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:240 -
finished:
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@7a096dab
*



Best regards,
Lyuba

Re: The question about ConcurrentUpdateSolrServer

Posted by Mikhail Khludnev <mk...@griddynamics.com>.
L'ubov',

Yes it does. There were only two long request with huge bodies contains
roughly about 125K docs. You can also check Solr side LogUpdateProcessor
log messages regarding number of requests and docs passed in each.


On Wed, Nov 7, 2012 at 5:26 PM, Lyuba Romanchuk
<ly...@gmail.com>wrote:

> Hi,
> If I run my application that uses solrj API (ConcurrentUpdateSolrServer
> with buffer 10 and thread count 2) I get the logs (see below) with only two
> rows like "*Status for: <uid> is 200". *
> Does it mean that only two http requests were send?
> The application indexes 2,500,000 different documents, and this is the
> number of docs that I get in web ui. But I thought that I should see a lot
> of rows like this not only 2, something like ~250,000.
>
> *17:47:42,842  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
> Creating new http client,
> config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
> *17:47:43,122  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
> Creating new http client,
> config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
> *17:47:43,128  INFO org.apache.solr.client.solrj.impl.HttpClientUtil:102 -
> Creating new http client,
> config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false*
> *17:47:43,539  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:121 - starting
> runner:
>
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@3bc8c52e
> *
> *17:47:43,539  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:121 - starting
> runner:
>
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@7a096dab
> *
> *17:50:46,257  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:200 - Status
> for: 5e41920f-b49b-4062-8f01-06e3d36926c9 is 200*
> *17:50:46,257  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:200 - Status
> for: 185b1dfd-d0b7-4f75-bfc5-1e38e89a05f2 is 200*
> *17:50:46,258  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:240 -
> finished:
>
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@3bc8c52e
> *
> *17:50:46,258  INFO
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer:240 -
> finished:
>
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@7a096dab
> *
>
>
>
> Best regards,
> Lyuba
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
 <mk...@griddynamics.com>