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 J Mohamed Zahoor <za...@indix.com> on 2013/05/07 18:48:40 UTC
stats cache
Hi
I am computing lots of stats as part of a query…
looks like the solr caching is not helping here…
Does solr caches stats of a query?
./zahoor
Re: stats cache
Posted by Otis Gospodnetic <ot...@gmail.com>.
Hi,
Yes, in the query cache. You should see it in your monitoring tool or
your Solr Stats Admin page. Doesn't help if queries don't repeat or
cache settings and poor.
Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
SOLR Performance Monitoring - http://sematext.com/spm/index.html
On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com> wrote:
> Hi
>
> I am computing lots of stats as part of a query…
> looks like the solr caching is not helping here…
>
> Does solr caches stats of a query?
>
> ./zahoor
Re: stats cache
Posted by Dmitry Kan <so...@gmail.com>.
OK, thanks.
On Wed, May 8, 2013 at 1:38 PM, J Mohamed Zahoor <za...@indix.com> wrote:
>
>
> I am using a simple LRU cache in my client where i store req and response
> for now.
> Later might move to something like varnish.
>
> ./zahoor
>
> On 08-May-2013, at 3:26 PM, Dmitry Kan <so...@gmail.com> wrote:
>
> > Mohamed,
> >
> > (out of curiosity) What kind of tool are you using for that?
> >
> >
> > On Wed, May 8, 2013 at 10:13 AM, J Mohamed Zahoor <za...@indix.com>
> wrote:
> >
> >> Thanks.. i am caching in HTTP now..
> >>
> >> ./zahoor
> >>
> >>
> >> On 08-May-2013, at 3:58 AM, Yonik Seeley <yo...@lucidworks.com> wrote:
> >>
> >>> On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com>
> >> wrote:
> >>>> Hi
> >>>>
> >>>> I am computing lots of stats as part of a query…
> >>>> looks like the solr caching is not helping here…
> >>>>
> >>>> Does solr caches stats of a query?
> >>>
> >>> No. Neither facet counts or stats part of a request are cached. The
> >>> query cache only caches top N docs (plus scores if applicable) for a
> >>> given query + filters.
> >>>
> >>> If the whole request is identical, then you can use an HTTP caching
> >>> mechanism though.
> >>>
> >>> -Yonik
> >>> http://lucidworks.com
> >>
> >>
>
>
Re: stats cache
Posted by J Mohamed Zahoor <za...@indix.com>.
I am using a simple LRU cache in my client where i store req and response for now.
Later might move to something like varnish.
./zahoor
On 08-May-2013, at 3:26 PM, Dmitry Kan <so...@gmail.com> wrote:
> Mohamed,
>
> (out of curiosity) What kind of tool are you using for that?
>
>
> On Wed, May 8, 2013 at 10:13 AM, J Mohamed Zahoor <za...@indix.com> wrote:
>
>> Thanks.. i am caching in HTTP now..
>>
>> ./zahoor
>>
>>
>> On 08-May-2013, at 3:58 AM, Yonik Seeley <yo...@lucidworks.com> wrote:
>>
>>> On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com>
>> wrote:
>>>> Hi
>>>>
>>>> I am computing lots of stats as part of a query…
>>>> looks like the solr caching is not helping here…
>>>>
>>>> Does solr caches stats of a query?
>>>
>>> No. Neither facet counts or stats part of a request are cached. The
>>> query cache only caches top N docs (plus scores if applicable) for a
>>> given query + filters.
>>>
>>> If the whole request is identical, then you can use an HTTP caching
>>> mechanism though.
>>>
>>> -Yonik
>>> http://lucidworks.com
>>
>>
Re: stats cache
Posted by Dmitry Kan <so...@gmail.com>.
Mohamed,
(out of curiosity) What kind of tool are you using for that?
On Wed, May 8, 2013 at 10:13 AM, J Mohamed Zahoor <za...@indix.com> wrote:
> Thanks.. i am caching in HTTP now..
>
> ./zahoor
>
>
> On 08-May-2013, at 3:58 AM, Yonik Seeley <yo...@lucidworks.com> wrote:
>
> > On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com>
> wrote:
> >> Hi
> >>
> >> I am computing lots of stats as part of a query…
> >> looks like the solr caching is not helping here…
> >>
> >> Does solr caches stats of a query?
> >
> > No. Neither facet counts or stats part of a request are cached. The
> > query cache only caches top N docs (plus scores if applicable) for a
> > given query + filters.
> >
> > If the whole request is identical, then you can use an HTTP caching
> > mechanism though.
> >
> > -Yonik
> > http://lucidworks.com
>
>
Re: stats cache
Posted by J Mohamed Zahoor <za...@indix.com>.
Thanks.. i am caching in HTTP now..
./zahoor
On 08-May-2013, at 3:58 AM, Yonik Seeley <yo...@lucidworks.com> wrote:
> On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com> wrote:
>> Hi
>>
>> I am computing lots of stats as part of a query…
>> looks like the solr caching is not helping here…
>>
>> Does solr caches stats of a query?
>
> No. Neither facet counts or stats part of a request are cached. The
> query cache only caches top N docs (plus scores if applicable) for a
> given query + filters.
>
> If the whole request is identical, then you can use an HTTP caching
> mechanism though.
>
> -Yonik
> http://lucidworks.com
Re: stats cache
Posted by Yonik Seeley <yo...@lucidworks.com>.
On Tue, May 7, 2013 at 12:48 PM, J Mohamed Zahoor <za...@indix.com> wrote:
> Hi
>
> I am computing lots of stats as part of a query…
> looks like the solr caching is not helping here…
>
> Does solr caches stats of a query?
No. Neither facet counts or stats part of a request are cached. The
query cache only caches top N docs (plus scores if applicable) for a
given query + filters.
If the whole request is identical, then you can use an HTTP caching
mechanism though.
-Yonik
http://lucidworks.com