You're in uncharted territory. I can imagine you use
a SolrCloud cluster as a separate Solr for a federated
search, but using it as a single shard just seems wrong.

If nothing else, indexing to the shards will require that
the documents be routed correctly. But having one
shard in SolrCloud and another shard managed
externally seems ripe for getting the docs indexed
to various shards you're not expecting, unless you're
using explicit routing....

All in all, this _really_ sounds like something you should
not be attempting. Why are you trying to do this? Is it
possible to just set up a SolrCloud cluster and index
all the docs to it and be done with it?

'cause I think you'll end up with endless problems given
what you've described.

Best
Erick

On Wed, Jul 31, 2013 at 5:16 AM, Oliver Goldschmidt
<o.goldschm...@tuhh.de> wrote:
> Hi list,
>
> I have a Solr server, which uses sharding to make distributed search
> with another Solr server. The other Solr server now migrates to a Solr
> Cloud system. I've been trying recently to continue searching the Solr
> Cloud as a shard for my Solr server, but this is failing with mysterious
> effects. I am getting a result with a number of hits, when I perform a
> search, but the results are not displayed at all. This is the resonse
> header I am getting from Solr:
>
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":305,
>     "params":{
>       "facet":"true",
>       "indent":"yes",
>       "facet.mincount":"1",
>       "facet.limit":"30",
>       "qf":"title_short^750 title_full_unstemmed^600",
>       "json.nl":"arrarr",
>       "wt":"json",
>       "rows":"20",
>       "shards":"ourindex.nowhere.de/solr/index",
>       "bq":"format:Book^500",
>       "fl":"*,score",
>       "facet.sort":"count",
>       "start":"0",
>       "q":"xml",
>       "shards.info":"true",
>       "facet.prefix":"",
>       "facet.field":["publishDate"],
>       "qt":"dismax"}},
>   "shards.info":{
>     "ourindex.nowhere.de/solr/index":{
>       "numFound":10076,
>       "maxScore":8.507474,
>       "time":263}},
>   "response":{"numFound":10056,"start":0,"maxScore":8.507474,"docs":[]
>   }
>
> As you can see, there are no docs in the result. This result is not 100%
> reproducable: sometimes I get no results displayed, other times it works
> (with the same query URL!). As you also can see in the result, the
> number of hits in the response is a little bit less than the number of
> hits sent from the shard.
>
> This makes me wonder if it is not possible to use a Solr Cloud as a
> shard for another standalone Solr server?
>
> Any hint is appreciated!
>
> Best
> - Oliver
>
> --
> Oliver Goldschmidt
> TU Hamburg-Harburg / Universitätsbibliothek / Digitale Dienste
> Denickestr. 22
> 21071 Hamburg - Harburg
> Tel.    +49 (0)40 / 428 78 - 32 91
> eMail   o.goldschm...@tuhh.de
> --
> GPG/PGP-Schlüssel:
> http://www.tub.tu-harburg.de/keys/Oliver_Marahrens_pub.asc
>

Reply via email to