On Thu, Apr 23, 2009 at 9:25 AM, lupiss <lupitaga...@hotmail.com> wrote:

>
> hola de nuevo!
> es cierto ese comando es el que borra un index, ya lo intenté y sí, así
> borraré mis registros de prueba de mi proyecto, estaría bien saber como
> borrarlo desde la aplicación mediante solrj, saludos, gracias :)
>
> hello again!
> this is true is the command that erases an index, and I tried and yes, that
> blot on my record of my test project, it would be nice to know how to
> delete
> it from your application using solrj, greetings, thank you:)
>

You can use solrServer.deleteByQuery("*:*") and then call commit by
solrServer.commit(true, true);

This will erase the index.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to