Re: How to improve Solr search performance

2008-04-09 Thread Eason . Lee
> > > can you be more specific about what you mean when you say "And I got the > time from dispatchfilter..." What *exactly* are you looking at (ie: is > this a time you are seeing in a log file? ifso which log file? ... is this > timing code you added to the dispatch filter yourself? what *exactl

Re: How to improve Solr search performance

2008-04-09 Thread Chris Hostetter
: 1) how are you timing this (ie: what exactly are you measuring) : And I got the time from dispatchfilter received the request to : responsewriter write the response : It is much larger than QTime. can you be more specific about what you mean when you say "And I got the time from dispatchfilte

Re: How to improve Solr search performance

2008-04-09 Thread 李银松
2008/4/9, Chris Hostetter <[EMAIL PROTECTED]>: > > > : most of time seems to be used for the writer getting and writing the > docs > : can those docs prefetched? > > as mentiond, the documentCache can help you out in the common case, but > 1-4 seconds for just the XMLWriting seems pretty high ...

Re: How to improve Solr search performance

2008-04-08 Thread Chris Hostetter
: most of time seems to be used for the writer getting and writing the docs : can those docs prefetched? as mentiond, the documentCache can help you out in the common case, but 1-4 seconds for just the XMLWriting seems pretty high ... 1) how are you timing this (ie: what exactly are you measur

Re: How to improve Solr search performance

2008-04-08 Thread 李银松
I will try what u suggested ! Thanks a lot~ 在08-4-9,Leonardo Santagada <[EMAIL PROTECTED]> 写道: > > > On 09/04/2008, at 00:24, 李银松 wrote: > > > most of time seems to be used for the writer getting and writing the > > docs > > can those docs prefetched? > > > > > There is a cache on solr... if you

Re: How to improve Solr search performance

2008-04-08 Thread Leonardo Santagada
On 09/04/2008, at 00:24, 李银松 wrote: most of time seems to be used for the writer getting and writing the docs can those docs prefetched? There is a cache on solr... if you really want it you could make the cache and the jvm as big as your memory it should probably fit most of the 10gb i

Re: How to improve Solr search performance

2008-04-08 Thread 李银松
most of time seems to be used for the writer getting and writing the docs can those docs prefetched? 2008/4/9, Leonardo Santagada <[EMAIL PROTECTED]>: > > > On 08/04/2008, at 23:13, 李银松 wrote: > > > I'm testing solr search performance using LoadRunner > > the index contains 5M+ docs , about 10.7G

Re: How to improve Solr search performance

2008-04-08 Thread 李银松
limiting the results? How? I had set rows=50 fl=ID is it what u said for limiting the results? When I switch to writing json data, the result is better max:14.8s min:0.1savg:8.7 Error:QTime is around 1-4s ,not 1s 2008/4/9, Leonardo Santagada <[EMAIL PROTECTED]>: > > > On 08/04/2008, at

Re: How to improve Solr search performance

2008-04-08 Thread Leonardo Santagada
On 08/04/2008, at 23:13, 李银松 wrote: I'm testing solr search performance using LoadRunner the index contains 5M+ docs , about 10.7GB large. CPU:3.2GHz*2 RAM16GB The result si dispirited max:19s min 1.5s avg 11.7s But the QTime is around 1s (simple query without facet or mlt,just fetch the top 50