lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Majaranta <janne.majara...@gmail.com>
Subject Re: Results from More then One Cors?
Date Fri, 13 Aug 2010 15:08:51 GMT
Hi Jörg,

You can use the "shards" parameter to search the cores you want.
For example, say you have core0, core1, core2. You want to have results from
all the cores.
Then you could use the following example URL:

http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2

The core name you choose for the http://localhost:8983/solr/coreX part of
the Uri doesn't matter. The distributed search feature will use only the
cores you specify with the "shards" parameter.
This will give you a transparent view of the indexes you have in the
separate cores.

Prost! Und viel Glück ;)

- Janne


2010/8/13 Jörg Agatz <joerg.agatz@googlemail.com>

> Sorry..
>
>
> I tryed it with more Details :-)..
>
>
> So i have a lot of cors.. 10 to 20... now i search a way to get results
> from
> 5 to ten Cors at the same time..
> i need to sort ol results need view facet search out of the 10 cors at the
> same time.
>
> So one query, one server with 20 Corrs and o result with the results from
> all 20 Corrs..
>
> i hope my question is clearly.. my english is not the best.. Sorry
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message