I am looking for following solution in C#, Please provide sample code if
possible:-
1. Delete all the index using delete query.
2. Take backup of all the old index, before regenerate.
3. Try to write unlike query for a field to delete stale index.
4. How can use transaction under index generation
Try solrServer.deleteByQuery("id:2354345");
This will delete all documents which have id=2354345.
OR
solrServer.deleteById("2354345");
This works if id is uniqueKey in schema.xml
id
On Fri, Apr 24, 2009 at 10:43 PM, lupiss wrote:
>
> You can use solrServer.deleteByQuery("*:*") and then call
You can use solrServer.deleteByQuery("*:*") and then call commit by
solrServer.commit(true, true);
This will erase the index.
--
Regards,
Shalin Shekhar Mangar.
hola gracias por contestar! ese comando ya lo había visto, pero borra todo
los índices verdad?, yo quisiera borrar solo un índice de
On Thu, Apr 23, 2009 at 9:25 AM, lupiss 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!
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 tri
Hola!
¿qué tal?
Tengo un problema parecido, necesito borrar algunos índices de mi solr, ya
que los di de alta mientras hacía pruebas y ahora que entregaré el proyecto
necesito que no aparezcan ya, se me complica esto ya que toda la información
de solr está en inglés y pués yo no lo entiendo bien,
If you want to do this as a single delete-by-query, you could OR all
the clauses together:
load_id:(20070424150841 OR 20070425145301 )query>
Erik
On May 1, 2007, at 2:14 AM, Ryan McKinley wrote:
escher2k wrote:
I am trying to remove documents from my index using "delete by
query"
escher2k wrote:
Thanks Ryan. I need to use query since I am deleting a range of documents.
From your
comment, I wasn't sure if one doesn't need to do an explicit commit when
using delete by query.
Does delete by query not need an explicit commit.
delete by query causes a commit *before* it e
Thanks Ryan. I need to use query since I am deleting a range of documents.
>From your
comment, I wasn't sure if one doesn't need to do an explicit commit when
using delete by query.
Does delete by query not need an explicit commit.
Thanks.
ryan mckinley wrote:
>
> escher2k wrote:
>> I am tryin
escher2k wrote:
I am trying to remove documents from my index using "delete by query".
However when I did this, the deleted
items seem to remain. This is the format of the XML file I am using -
load_id:20070424150841
load_id:20070425145301
load_id:20070426145301
load_id:20070427145302
load_id:20
10 matches
Mail list logo