start indexing members

This commit is contained in:
www
2020-12-12 10:15:20 +00:00
parent 73b21cdb7a
commit ca753097b0
2 changed files with 16 additions and 8 deletions

View File

@@ -28,7 +28,9 @@ def post_to_solr(p):
raise PostKeyError("Post needs to have key '%s'" % k)
# Return the solr structure
return {
"id": p["slug"],
"id": p["url"],
"date_dt": p["public_date"],
"tags_tkn": p["tag_string"],
"title_txt": p["title"],
"text_txt": (get_text2(p.get("body","")) or "")+" "+get_text2(p.get("agenda_html","") or "")
}