Hi Walter

Deleting multiple IDs at once with JSON is mentioned here:
https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-with-update-handlers.html#sending-json-update-commands

Or a list of document IDs:
>
> { "delete":["id1","id2"] }
>
>
Thomas

Op wo 24 mei 2023 om 22:23 schreef Walter Underwood <wun...@wunderwood.org>:

> It works! Thanks so much.
>
> I’m using XML update format because the JSON format for sending multiple
> IDs for deletion is not documented anywhere I could find. It was easier to
> just generate XML instead of continuing to search for documentation.
>
> This does the trick:
>
> <delete><id
> route="shard25_2">datalake_FPD_163298_3RGR-V090-006H-40F0-00000-00</id></delete>
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>

Reply via email to