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 James liu <li...@gmail.com> on 2007/04/29 05:54:46 UTC

I find one strange thing

now i test solr, so only i use search.

when i left search sometime, and i search something, it will be slow.

when i use it frequency, it search quick...

This thing only happened not use search sometime?

Anyone have same thing?

-- 
regards
jl

Re: I find one strange thing

Posted by James liu <li...@gmail.com>.
i think i find it because i set hashDocSet maxsize=0

i not use faceting and why i can't close HashDocSet?

2007/4/29, Yonik Seeley <yo...@apache.org>:
>
> On 4/28/07, James liu <li...@gmail.com> wrote:
> > now i test solr, so only i use search.
> >
> > when i left search sometime, and i search something, it will be slow.
> >
> > when i use it frequency, it search quick...
> >
> > This thing only happened not use search sometime?
> >
> > Anyone have same thing?
>
> Could just be caching if there are commits in between your searches.
> Make sure you don't have time-based autocommit turned on if you don't
> want it to be.
> Make sure you have some autowarming to warm frequent searches in the
> background.
>
> Are you using faceting?  There is currently no auto-warming for
> that... you need to set up some static warming to make sure there is
> no first-hit penalty.
>
> -Yonik
>



-- 
regards
jl

Re: I find one strange thing

Posted by Yonik Seeley <yo...@apache.org>.
On 4/28/07, James liu <li...@gmail.com> wrote:
> now i test solr, so only i use search.
>
> when i left search sometime, and i search something, it will be slow.
>
> when i use it frequency, it search quick...
>
> This thing only happened not use search sometime?
>
> Anyone have same thing?

Could just be caching if there are commits in between your searches.
Make sure you don't have time-based autocommit turned on if you don't
want it to be.
Make sure you have some autowarming to warm frequent searches in the background.

Are you using faceting?  There is currently no auto-warming for
that... you need to set up some static warming to make sure there is
no first-hit penalty.

-Yonik