start indexing members
This commit is contained in:
@@ -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 "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user