lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Fox <>
Subject Distributed search with Terms Component and Solr Cloud.
Date Mon, 13 Jan 2014 19:24:41 GMT

I am running Solr 4.6.0.  I am experiencing some difficulties using the
terms component across multiple shards.  I see according to the
documentation, it should work, but I am unable to do so with solr cloud.

When I have one shard, queries using the terms component respond as I would
expect.  However, when I split my index across two shards, I get empty
results for the same query.

I am querying solr with a CloudSolrServer object.  When I manually add the
query params "shards" and "shards.qt" to my SolrQuery, I get the expected
response.  It's not ideal, but if there's a way to get a list of all shards
programmatically, I could set that parameter.

>From the documentation, it appears to me the terms component should be
supported by solr cloud, but I can't find anything that explicitly says one
way or the other.  If there is a better way to do it, or perhaps something
I have misconfigured, any advice would be much appreciated.  If it's just
not possible, I will manage.  I can provide more configuration or
specifically how I am running the query if that would help.

Ryan Fox

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