You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nitin Solanki <ni...@gmail.com> on 2015/08/10 13:04:56 UTC
Make search faster in Solr
Hi,
I have 32 shards and single replica of each shards having 4 nodes
over Solr cloud.
I have indexed 16 million documents. Without cache, total time taken to
search a document is 0.2 second. And with cache is 0.04 second.
I don't do anything of cache. Caches are set by default in solrconfig.xml.
How to make faster search without cache? Or how to make more faster with
cache while searching. Which cache is used for searching?
Re: Make search faster in Solr
Posted by Nitin Solanki <ni...@gmail.com>.
Hi davidphilip,
Without caching, Can we do fast searching?
On Tue, Aug 11, 2015 at 11:43 AM Nitin Solanki <ni...@gmail.com> wrote:
> Okay davidphilip.
>
> On Mon, Aug 10, 2015 at 8:24 PM davidphilip cherian <
> davidphilipcherian@gmail.com> wrote:
>
>> Hi Nitin,
>>
>> 32 shards for 16 million documents is too much. 2 shards should suffice
>> considering your document sizes are moderate. Caches are to be monitored
>> and tuned accordingly. You should study about caches a bit here
>>
>> https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig
>>
>>
>>
>> On Mon, Aug 10, 2015 at 4:34 PM, Nitin Solanki <ni...@gmail.com>
>> wrote:
>>
>> > Hi,
>> > I have 32 shards and single replica of each shards having 4
>> nodes
>> > over Solr cloud.
>> > I have indexed 16 million documents. Without cache, total time taken to
>> > search a document is 0.2 second. And with cache is 0.04 second.
>> > I don't do anything of cache. Caches are set by default in
>> solrconfig.xml.
>> >
>> > How to make faster search without cache? Or how to make more faster with
>> > cache while searching. Which cache is used for searching?
>> >
>>
>
Re: Make search faster in Solr
Posted by Nitin Solanki <ni...@gmail.com>.
Okay davidphilip.
On Mon, Aug 10, 2015 at 8:24 PM davidphilip cherian <
davidphilipcherian@gmail.com> wrote:
> Hi Nitin,
>
> 32 shards for 16 million documents is too much. 2 shards should suffice
> considering your document sizes are moderate. Caches are to be monitored
> and tuned accordingly. You should study about caches a bit here
>
> https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig
>
>
>
> On Mon, Aug 10, 2015 at 4:34 PM, Nitin Solanki <ni...@gmail.com>
> wrote:
>
> > Hi,
> > I have 32 shards and single replica of each shards having 4 nodes
> > over Solr cloud.
> > I have indexed 16 million documents. Without cache, total time taken to
> > search a document is 0.2 second. And with cache is 0.04 second.
> > I don't do anything of cache. Caches are set by default in
> solrconfig.xml.
> >
> > How to make faster search without cache? Or how to make more faster with
> > cache while searching. Which cache is used for searching?
> >
>
Re: Make search faster in Solr
Posted by davidphilip cherian <da...@gmail.com>.
Hi Nitin,
32 shards for 16 million documents is too much. 2 shards should suffice
considering your document sizes are moderate. Caches are to be monitored
and tuned accordingly. You should study about caches a bit here
https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig
On Mon, Aug 10, 2015 at 4:34 PM, Nitin Solanki <ni...@gmail.com> wrote:
> Hi,
> I have 32 shards and single replica of each shards having 4 nodes
> over Solr cloud.
> I have indexed 16 million documents. Without cache, total time taken to
> search a document is 0.2 second. And with cache is 0.04 second.
> I don't do anything of cache. Caches are set by default in solrconfig.xml.
>
> How to make faster search without cache? Or how to make more faster with
> cache while searching. Which cache is used for searching?
>