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örg Agatz <jo...@googlemail.com> on 2011/01/07 10:02:11 UTC
Optimize a Index
Hallo, i have a Index withe 800.000 Dokuments, and now i hope it will be
Faster, if i optimize the Index, it sounds good ;-)
But i cant find an Example to Optimize one of milticors or all cors..
Maby one of you have a little example for that ..
King
Re: Optimize a Index
Posted by "Grijesh.singh" <pi...@gmail.com>.
use http://yoursolrip/solr/your-core/update?stream.body=<optimize/>
-----
Grijesh
--
View this message in context: http://lucene.472066.n3.nabble.com/Optimize-a-Index-tp2210632p2210688.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Optimize a Index
Posted by Erick Erickson <er...@gmail.com>.
Hmmm, certainly try optimize, but often the problem
is in how you query. Providing some examples of
slow queries and the time it takes to get them would help.
Also, running with &debugQuery=on will show you a QTime
field in the response header that is the number of milliseconds
the actual query took as opposed to assembling the output.
Also, the first few queries may spend time filling caches,
especially if you're sorting.
Best
Erick
On Fri, Jan 7, 2011 at 4:02 AM, Jörg Agatz <jo...@googlemail.com>wrote:
> Hallo, i have a Index withe 800.000 Dokuments, and now i hope it will be
> Faster, if i optimize the Index, it sounds good ;-)
>
> But i cant find an Example to Optimize one of milticors or all cors..
>
>
> Maby one of you have a little example for that ..
>
> King
>