fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad5acb8
)
Temporary search problem workaround.
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 17 Jun 2019 13:32:28 +0000
(15:32 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 17 Jun 2019 13:32:28 +0000
(15:32 +0200)
src/search/index.py
patch
|
blob
|
history
diff --git
a/src/search/index.py
b/src/search/index.py
index
9f87b99
..
bd31a2a
100644
(file)
--- 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:
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
return True
else:
return False