Goutham, Is the field you are trying to delete by indexed=true in the schema ? If the uniqueKey is indexed=true, does delete by id work for you? (<delete><id> uniqueKey:value</id></delete>) Also, instead of "Solr Command" if you choose the Document type as "XML" does it make any difference?
Rahul On Thu, Sep 24, 2020 at 1:04 PM Goutham Tholpadi <gtholp...@gmail.com> wrote: > Hi, > > Setup: > We have a stand-alone Solr (v7.2) with around 30 million documents and with > 4 cores, 38G of RAM, and a 1TB disk. The documents were not directly > indexed but came from a restore of a back from another Solr instance. > > Problem: > Search queries seem to be working fine. However, when I try to delete > documents from the Solr console, I get a "Connection to Solr lost" error. I > am trying by navigating to the "Documents" section of the chosen core, > using "Solr Command" as the "Document Type", and entering something this in > the box below: > <delete> > <query> > field:value > </query> > </delete> > > I tried with the field being the unique key, and otherwise. I also tried > with values containing wild cards. I got the error in all cases. > > Any pointers on this? > > Thanks > Goutham >