Hi, 

I am using SolrJ to communicate with SOLR. My Solr-queries perform within
range (between 50 ms and 300 ms) by looking at the solr log as ouputted on
my (windows) commandline. 

However I discovered that the following command at all times takes
significantly longer than the number outputted in the solr-log, (sometimes
about 400% longer):
 
SorrQuery query  = /* some query */
QueryRequest req = new QueryRequest(query);
req.process(solrServer);  //solrServer is an instance of
CommonsHttpSolrServer

Of course, this includes the time to parse and transfer the response (about
10-12k) from the solr-server to  solrJ, but I can't imagine that it can all
be contributed to this.

I would really appreciate anyone giving me some pointers as to what would
make up this difference. And/Or whether this difference seems normal or not. 

As a refeference ,some figures I've seen are: 
30 ms on server 125ms on solrJ
250ms on server 550ms on solrJ. 
at all times the response is between 10-12k which includes facetfields and
facetqueries. (A facetfield takes  has up to a max of about 100 values). 

Thanks in advance, 
Geert-Jan


-- 
View this message in context: 
http://www.nabble.com/big-perf-difference-between-solr-server-vs.--SOlrJ-req.process%28solrserver%29-tp14513964p14513964.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to