great idea!

On Sun, Feb 19, 2012 at 9:43 PM, Li Li <fancye...@gmail.com> wrote:

> you can delete by query like -category:category1
>
> On Sun, Feb 19, 2012 at 9:41 PM, Li Li <fancye...@gmail.com> wrote:
>
> > I think you could do as follows.  taking splitting it to 3 indexes for
> > example.
> > you can copy the index 3 times.
> > for copy 1
> >   for(int i=0;i<reader1.maxDocs();i+=3){
> >       reader1.delete(i);
> >   }
> > for copy
> >   for(int i=1;i<reader2.maxDocs();i+=3){
> >       reader2.delete(i);
> >  }
> > ....
> >  and then optimize these 3 indexes
> >
>

Reply via email to