Matthew: did you ever resolve your issue?

I'm not an expect on the distributed searching code, but there's no reason
I know of why a basic "OR" type query should fail just becuase you're
using hte shards param.

Are you sure both of your solr instances (solr-archway and solr-portal) 
are using the same schema.xml and solrconfig.xml ?



On Fri, 14 Aug 2009, Matthew Painter wrote:

: Subject: Boolean logic in distributed searches
: 
: Hello,
:  
: Firstly, my apologies for what I suspect is a very straightforward
: question.
:  
: I have two Solr 1.3 indexes and am searching both through Solr's
: distributed searching. Searching works correctly, however boolean
: searches are being interepreted differently depending on whether or not
: I search both indexes.
:  
: For the example search criteria 'fish OR game', the following query
: returns 9300 results:
: http://testapp1.test.archives.govt.nz:8080/solr-archway/select?qt=standa
: rd&q=fish+OR+game
:  
: 
: Whereas the following query only returns 170 results:
:  
: http://testapp1.test.archives.govt.nz:8080/solr-archway/select?qt=standa
: rd&q=fish+OR+game&shards=testapp1.test.archives.govt.nz:8080/solr-archwa
: y,testapp1.test.archives.govt.nz:8080/solr-portal
: <http://testapp1.test.archives.govt.nz:8080/solr-archway/select?qt=stand
: ard&q=fish+OR+game&shards=testapp1.test.archives.govt.nz:8080/solr-archw
: ay,testapp1.test.archives.govt.nz:8080/solr-portal> 
:  
: This is the same even if a single shard is present. Are boolean searches
: not supported across multiple shards? Or do I need to tweak something?
:  
: Thanks in anticipation,
: Matt
: 
: This e-mail message and any attachments are CONFIDENTIAL to the addressee(s) 
and may also be LEGALLY PRIVILEGED.  If you are not the intended addressee, 
please do not use, disclose, copy or distribute the message or the information 
it contains.  Instead, please notify me as soon as possible and delete the 
e-mail, including any attachments.  Thank you.
: 



-Hoss

Reply via email to