我正在嘗試從Solr索引中刪除文檔。我正在使用pysolr,并嘗試通過ID和查詢刪除它們。在這兩種情況下,操作都會失敗,cr-10.1002/(sici)1520-6688(199621)15:2<476::aid-pam7>3.3.co;2-2并返回如下錯誤:pysolr.SolrError: Solr responded with an error (HTTP 400): [Reason: Unexpected character '4' (code 52) in content after '<' (malformed start element?).
at [row,col {unknown-source}]: [1,53]]https://lucene.apache.org/core/7_2_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Escaping_Special_Characters根本沒有提到轉義括號。我嘗試了一下,但是沒有運氣。您知道如何刪除這些文檔嗎?
添加回答
舉報
0/150
提交
取消