lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Querying from solr shards
Date Thu, 31 Jul 2014 12:24:24 GMT
That would be two separate queries, one specifying a single core, and the 
other specifying all cores.

Or, if that one ID is unique to that core, just combine the two queries as 
an OR.

If not unique, try to find some field query that would make it unique. If 
even that is not unique, then you do need separate queries.

-- Jack Krupansky

-----Original Message----- 
From: Smitha Rajiv
Sent: Thursday, July 31, 2014 1:31 AM
To: solr-user@lucene.apache.org
Subject: Querying from solr shards

Hi All,

Currently i am using solr legacy distributed configuration (not solr cloud,
single solr server with multiple shards).

I need to write a query to get one particular document (id specific) from
one shard and all documents from other shards.

Can you please help me to get this query right.

Thanks & Regards,
Smitha S 


Mime
View raw message