From 4a9c4504b3c13dd34d7e629e44fbb91921ae5167 Mon Sep 17 00:00:00 2001 From: Samuel Lai Date: Fri, 29 Nov 2013 12:57:06 +1100 Subject: [PATCH] Updated bad docs. --- python/src/stackdump/commands/import_site.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/src/stackdump/commands/import_site.py b/python/src/stackdump/commands/import_site.py index ebc17c6..7b1607d 100644 --- a/python/src/stackdump/commands/import_site.py +++ b/python/src/stackdump/commands/import_site.py @@ -517,7 +517,10 @@ class PostContentHandler(xml.sax.ContentHandler): 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)