if numDocs und maxDocs have the same mumber of docs nothing will be deleted
on optimize.
You only rebuild your index.

Regards
Vadim




2011/9/28 Kissue Kissue <kissue...@gmail.com>

> numDocs and maxDocs are same size.
>
> I was worried because when i used to use only Lucene for the same indexing,
> before optimization there are many files but after optimization i always
> end
> up with just 3 files in my index filder. Just want to find out if this was
> ok.
>
> Thanks
>
> On Wed, Sep 28, 2011 at 1:23 PM, Vadim Kisselmann <
> v.kisselm...@googlemail.com> wrote:
>
> > why should the optimization reduce the number of files?
> > It happens only when you indexing docs with same unique key.
> >
> > Have you differences in numDocs und maxDocs after optimize?
> > If yes:
> > how is your optimize command ?
> >
> > Regards
> > Vadim
> >
> >
> >
> > 2011/9/28 Manish Bafna <manish.bafna...@gmail.com>
> >
> > > Try to do optimize twice.
> > > The 2nd one will be quick and will delete lot of files.
> > >
> > > On Wed, Sep 28, 2011 at 5:26 PM, Kissue Kissue <kissue...@gmail.com>
> > > wrote:
> > > > Hi,
> > > >
> > > > I am using solr 3.3. I noticed  that after indexing about 700, 000
> > > records
> > > > and running optimization at the end, i still have about 91 files in
> my
> > > index
> > > > directory. I thought that optimization was supposed to reduce the
> > number
> > > of
> > > > files.
> > > >
> > > > My settings are the default that came with Solr (mergefactor, etc)
> > > >
> > > > Any ideas what i could be doing wrong?
> > > >
> > >
> >
>

Reply via email to