Dear reader,
still using solr 8.1.1 because of this:
https://issues.apache.org/jira/browse/SOLR-13738
tried to delete approx. 25ooo solr docs (size of each ca. 1 kB)
using this query: curl http://serv7:8982/solr/Suchindex/update -H
"Content-type: text/xml" --data-binary '<delete><query>+id:d-nb.info*
-rnd_d:[0 TO 10] -id:*#* -_query_:"{!graph from=id
to=parent_ids}class_s:meta"</query></delete>'
now
2020-02-21 13:47:03.523 ERROR (qtp548482954-59) [ x:Suchindex]
o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: this
IndexWriter is closed
Caused by: org.apache.lucene.store.AlreadyClosedException: this
IndexWriter is closed
Caused by: java.lang.ClassCastException: class
org.apache.lucene.search.IndexSearcher cannot be cast to class
org.apache.solr.search.SolrIndexSearcher
(org.apache.lucene.search.IndexSearcher and
org.apache.solr.search.SolrIndexSearcher are in unnamed module of loader
org.eclipse.jetty.webapp.WebAppClassLoader @c1fca1e)
Ooops... even commit does not work.
Did rollback. Helps.
Did delete without the -_query_:"..." part, works.
Kind regards.
Jochen
--
Jochen Barth * Universitätsbibliothek Heidelberg, IT * Telefon 06221 54-2580