lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: SolrCloud and distributed search
Date Fri, 26 Oct 2012 15:48:56 GMT
On Fri, Oct 26, 2012 at 10:14 AM, Bill Au <bill.w.au@gmail.com> wrote:
> I am currently using one master with multiple slaves so I do have high
> availability for searching now.
>
> My index does fit on a single machine and a single query does not take too
> long to execute.  But I do want to take advantage of high availability of
> indexing and real time replication.  So it looks like I can set up
> SolrCloud with only 1 shard (ie numShards=1).
>
> In this case is SolrCloud still using distributed search behind the
> screen?  Will MoreLikeThis work?
>
> Does using SolrCloud with only 1 shard make any sense at all?

Yep.

Just pass distrib=false when querying.
At some point we need to optimize the case when a single node will
satisfy the query - and not just in the single shard case.
For upcoming custom hashing, if the requested hash range lies
completely in the shard, we shouldn't go distributed.

-Yonik
http://lucidworks.com

Mime
View raw message