m/
- Original Message
> From: Renee Sun
> To: solr-user@lucene.apache.org
> Sent: Fri, April 15, 2011 3:41:28 PM
> Subject: Re: partial optimize does not reduce the segment number to
>maxNumSegments
>
> sorry I should elaborate that earlier...
>
> in our producti
om/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2825736.html
Sent from the Solr - User mailing list archive at Nabble.com.
it seems this might change if I use term vector for
> example. So I need suggestions on how to accurately figure out the total
> file number.
>
> thanks
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-num
ght change if I use term vector for
example. So I need suggestions on how to accurately figure out the total
file number.
thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2817912.html
Sen
/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2813419.html
Sent from the Solr - User mailing list archive at Nabble.com.
in context:
> http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2813561.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
g any formula, we have to list
all files in that directory and count that way... any insight will be
appreciated.
thanks
Renee
--
View this message in context:
http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2813561.html
Sent from the
: /tmp # ls /xxx/solr/data/32455077/index | wc ---> this is the
start point, 150 seg files
: 150 150 946
: /tmp # time curl
the number of files i nthe index directory is not the "number of
segments"
the number of segments is an internal lucene concept that impacts
Segments=1&w
(full optimize)
real16m6.599s
user0m0.003s
sys0m0.004s
Disk Space Usage:
first 3 runs took about 20% extra
middle couple runs took about 50% extra
last full optimize took 100% extra
--
View this message in context:
http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments-tp2682195p2812415.html
Sent from the Solr - User mailing list archive at Nabble.com.
: I have a core with 120+ segment files and I tried partial optimize specify
: maxNumSegments=10, after the optimize the segment files reduced to 64 files;
a) the option you want to specify is "maxSegments" .. not "maxNumSegments"
http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes
optimize results in exactly 10 segment files or
somewhere near, and why do I have to manually repeat the optimize to reach
that number?
thanks
Renee
--
View this message in context:
http://lucene.472066.n3.nabble.com/partial-optimize-does-not-reduce-the-segment-number-to-maxNumSegments
11 matches
Mail list logo