lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gurudev <suyalprav...@yahoo.com>
Subject Re: Optimize not having any effect on my index
Date Mon, 21 Dec 2009 07:27:01 GMT

Hi,

Are you using the compound file format? If yes, then, have u set it properly
in solrconfig.xml, if not, then, change to:

<useCompoundFile>true</useCompoundFile> (this is by default 'false') under
the tags:

<indexDefaults>.......</indexDefaults>
 and, <mainIndex>.......</mainIndex>




Aleksander Stensby wrote:
> 
> Hey guys,
> I'm getting some strange behavior here, and I'm wondering if I'm doing
> anything wrong..
> 
> I've got an unoptimized index, and I'm trying to run the following
> command:
> http://server:8983/solr/update?optimize=true&maxSegments=10&waitFlush=false
> Tried it first directly in the browser, it obviously took quite a bit of
> time, but once it was finished I see no difference in my index. Same
> number
> of files, same size etc.
> So i tried with curl:
> curl http://server:8983/solr/update --data-binary '<optimize/>' -H
> 'Content-type:text/xml; charset=utf-8'
> 
> No difference here either... Am I doing anything wrong? Do i need to issue
> a
> commit after the optimize?
> 
> Any pointers would be greatly appreciated.
> 
> Cheers,
>  Aleks
> 
> 

-- 
View this message in context: http://old.nabble.com/Optimize-not-having-any-effect-on-my-index-tp26843094p26870653.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message