[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Querying from solr shards
From:       "Jack Krupansky" <jack () basetechnology ! com>
Date:       2014-07-31 12:24:24
Message-ID: 438A416C7B6248DB97B7E7B2BFA954FC () JackKrupansky14
[Download RAW message or body]

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 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic