This commit is contained in:
www
2020-10-26 20:30:12 +00:00
commit 58be5c779a
14 changed files with 673 additions and 0 deletions

14
solr.py Normal file
View File

@@ -0,0 +1,14 @@
from fet2020api import fet2020postapi
import pysolr
import python-environ
solr=pysolr.Solr('http://localhost:8980/solr/gettingstarted', always_commit=True)
# reindex posts from alpha
TARGET= "https://alpha.2020.fet.at"
solr.add()