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 mechravi25 <me...@yahoo.co.in> on 2011/11/17 16:34:04 UTC

Doubts in Shards concept

Hi,

I have implemented the shards concept. AFter giving the request this is how
is given in the logs

Nov 15, 2011 10:38:24 PM org.apache.solr.core.SolrCore execute
INFO: [core2] webapp=/solr path=/select
params={fl=uid,score&start=0&q=abc&isShard=true&wt=javabin&fsv=true&rows=1410&version=1}
hits=3396 status=0 QTime=2
Nov 15, 2011 10:38:24 PM org.apache.solr.core.SolrCore execute
INFO: [db] webapp=/solr path=/select/
params={indent=on&start=1400&q=abc&version=2.2&rows=10} status=0 QTime=58

In db, I give start-1400 and rows as 10 and in the core2, the request is
passed as start=0 and rows=1410

While browsing  I came across this url

https://issues.apache.org/jira/browse/SOLR-659

which gives the reason for this behaviour and a patch file to give the
request as same in all the shards.

I need to know whether there is any other config file that can be changed
for this issue. The solr version details i am using is 

Solr Specification Version: 1.4.0.2010.01.13.08.09.44 
 Solr Implementation Version: 1.5-dev exported - yonik - 2010-01-13 08:09:44 
 Lucene Specification Version: 2.9.1-dev 
 Lucene Implementation Version: 2.9.1-dev 888785 - 2009-12-09 18:03:31 

Please let me know whether this solr version contains this patch. 

*This is how the query url looks

http://localhost:8080/solr/db/select?indent=on&version=2.2&q=typeFacet%3AABC&shards.start=1400&shards.rows=10&start=1400&rows=10

We noticed that the request went same for both the shards and the underlying
server but no document was fetched even though the count was returned
properly.*
Please provide some suggestions.


--
View this message in context: http://lucene.472066.n3.nabble.com/Doubts-in-Shards-concept-tp3516135p3516135.html
Sent from the Solr - User mailing list archive at Nabble.com.