I think you should step back and consider what you're asking
for as Ken pointed out. You have different schemas. And
presumably different documents in each schema. The scores
from the different cores are NOT comparable. So how could
you "combine" the meaningfully? Further, assuming that the
documents have different characteristics, the term frequencies
and document frequencies will be different.

Solr really only supports this notion if your schemas are identical
and you're indexing similar documents to shards, using shards
with this intent probably won't do what you expect.

But why not just index your SolrJ documents directly into the
same core that you use for Nutch and just search the one index?
You don't have to provide values for any fields that don't have
'required="true" ' set. And if you do this, I suspect you'll have trouble
with relevance, but at least you'll get started.

Best
Erick

On Sat, Sep 24, 2011 at 8:02 AM, hadi <md.anb...@gmail.com> wrote:
> I read the link but the
> 'http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=true&q=ipod+solr'
> have a XML response that is not useful for me, i want to create query
> in solr/browse so this is need to change the template engine,do you
> know how to change that to search both cores?  thanks
>
> On 9/24/11, Yury Kats [via Lucene]
> <ml-node+s472066n3364157...@n3.nabble.com> wrote:
>>
>>
>> On 9/24/2011 3:09 AM, hadi wrote:
>>> I do not know how to search both cores and not define "shard"
>>> parameter,could you show me some solutions for solve my issue?
>>
>> See this: http://wiki.apache.org/solr/DistributedSearch
>>
>>
>> _______________________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://lucene.472066.n3.nabble.com/two-cores-but-have-single-result-set-in-solr-tp3363043p3364157.html
>>
>> To unsubscribe from two cores but have single result set in solr, visit
>> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3363043&code=bWQuYW5iYXJpQGdtYWlsLmNvbXwzMzYzMDQzfC02NDQ5ODMwMjM=
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/two-cores-but-have-single-result-set-in-solr-tp3363043p3364459.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to