Re: Determining core name from a result?

2010-12-17 Thread Lance Norskog
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,

Re: Determining core name from a result?

2010-12-16 Thread Grant Ingersoll
How are you querying the core to begin with? On Dec 16, 2010, at 6:46 AM, Mark Allan wrote: Hi all, I've been bashing my head against the wall for a few hours now, trying to get mlt (more-like-this) queries working across multiple cores. I've since seen a JIRA issue and documentation

Re: Determining core name from a result?

2010-12-16 Thread Mark Allan
Hi Grant, Thanks for your reply. I'm using solrj to connect via http, which eventually sends this query

Re: Determining core name from a result?

2010-12-16 Thread Chris Hostetter
: 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...

Re: Determining core name from a result?

2010-12-16 Thread Mark Allan
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