A core is a Solr-controlled Lucene index.

A shard is a core that one part of a distributed search. Shards:
SHOULD have the same schema; you will be so sorry if you don't follow this
MUST have the same unique id field,
MUST be disjoint: no document can be in two different shards
On Thu, Dec 16, 2010 at 8:04 AM, Mark Allan <mark.al...@ed.ac.uk> wrote:
> Oops! Sorry, I thought shard and core were one in the same and the terms
> could be used interchangeably - I've got a multicore setup which I'm able to
> search across by using the shards parameter.  I think you're right, that
> *is* the question I was asking.
>
> Thanks for letting me know it's not supported yet.  I guess the easiest
> thing for me to do right now is to add another field in each document saying
> which core it was inserted into.
>
> Thanks again
> Mark
>
> On 16 Dec 2010, at 3:46 pm, Chris Hostetter wrote:
>
>> : Subject: Determining core name from a result?
>>
>> FYI: some people may be confused because of terminoligy -- i think what
>> you are asking is how to know which *shard* a document came from when
>> doing a distributed search.
>>
>> This isn't currently supported, there is an open issue tracking it...
>>
>> https://issues.apache.org/jira/browse/SOLR-705
>>
>> -Hoss
>>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to