From: Radek Czajka Date: Mon, 17 Jun 2019 13:32:28 +0000 (+0200) Subject: Temporary search problem workaround. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a169ba7caa0d9d83fddcbad5ed05f536e0ca1b9e?hp=ad5acb886787871a70eee6385cddbb4238d3adb2 Temporary search problem workaround. --- diff --git a/src/search/index.py b/src/search/index.py index 9f87b9974..bd31a2acf 100644 --- a/src/search/index.py +++ b/src/search/index.py @@ -142,7 +142,8 @@ class Index(SolrIndex): uids.add(res['uid']) st += rows if uids: - self.index.delete(uids) + # FIXME: With Solr API change, this doesn't work. + #self.index.delete(uids) return True else: return False