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 Jae Joo <ja...@gmail.com> on 2007/10/25 21:10:49 UTC

Delete index and "commit or optimize"

Hi,

I have 9g index and try to delete a couple of document. The actual deletion
is working fine.

Here is my question.
Do I have to OPTIMIZE the index after deleting? or just COMMIT it? The
original index already optimized.

Thanks,

Jae Joo

RE: Performance Recommendation

Posted by "Wagner,Harry" <wa...@oclc.org>.
Thank Erik,
That fixed the problem.

Cheers!
harry

-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com] 
Sent: Thursday, October 25, 2007 4:41 PM
To: solr-user@lucene.apache.org
Subject: Re: Performance Recommendation


On Oct 25, 2007, at 4:19 PM, Wagner,Harry wrote:
> Where is a good place to look for some performance recommendations? We
> have a 2.4G index running on server with 16G. Overall performance is
> very good, but the initial sort on an index is too slow. Any idea  
> what,
> if anything, in the solrConfig would help that?

One option is to configure a warming query with sorts in  
solrconfig.xml.  Check out the newSeacher feature:

<http://wiki.apache.org/solr/ 
SolrConfigXml#head-451a45dd507ac621e7349576b475e9ec37c0e7b9>

	Erik


Re: Performance Recommendation

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Oct 25, 2007, at 4:19 PM, Wagner,Harry wrote:
> Where is a good place to look for some performance recommendations? We
> have a 2.4G index running on server with 16G. Overall performance is
> very good, but the initial sort on an index is too slow. Any idea  
> what,
> if anything, in the solrConfig would help that?

One option is to configure a warming query with sorts in  
solrconfig.xml.  Check out the newSeacher feature:

<http://wiki.apache.org/solr/ 
SolrConfigXml#head-451a45dd507ac621e7349576b475e9ec37c0e7b9>

	Erik


Re: Performance Recommendation

Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: Performance Recommendation
: In-Reply-To: <ef...@mail.gmail.com>

http://people.apache.org/~hossman/#threadhijack

When starting a new discussion on a mailing list, please do not reply to 
an existing message, instead start a fresh email.  Even if you change the 
subject line of your email, other mail headers still track which thread 
you replied to and your question is "hidden" in that thread and gets less 
attention.   It makes following discussions in the mailing list archives 
particularly difficult.
See Also:  http://en.wikipedia.org/wiki/Thread_hijacking



-Hoss


Performance Recommendation

Posted by "Wagner,Harry" <wa...@oclc.org>.
Where is a good place to look for some performance recommendations? We
have a 2.4G index running on server with 16G. Overall performance is
very good, but the initial sort on an index is too slow. Any idea what,
if anything, in the solrConfig would help that?

Thanks... harry