mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Updated bad docs.
This commit is contained in:
parent
77dd2def42
commit
4a9c4504b3
@ -517,7 +517,10 @@ class PostContentHandler(xml.sax.ContentHandler):
|
|||||||
|
|
||||||
def commit_questions(self, questions, commit=True):
|
def commit_questions(self, questions, commit=True):
|
||||||
"""
|
"""
|
||||||
Commits the given list of questions to solr.
|
Adds the given list of questions to solr.
|
||||||
|
|
||||||
|
By default, they are committed immediately. Set the ``commit`` argument
|
||||||
|
to False to disable this behaviour.
|
||||||
"""
|
"""
|
||||||
self.solr.add(questions, commit=commit)
|
self.solr.add(questions, commit=commit)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user