Update doc for 0.9.2 release
diff --git a/docs/source/conf.py b/docs/source/conf.py
index cbcb864..0d87655 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -52,9 +52,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.8'
+version = '0.9'
# The full version, including alpha/beta/rc tags.
-release = '0.8.3'
+release = '0.9.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/docs/source/predictionio.rst b/docs/source/predictionio.rst
index 265ff51..0dd090e 100644
--- a/docs/source/predictionio.rst
+++ b/docs/source/predictionio.rst
@@ -3,15 +3,18 @@
.. automodule:: predictionio
-The SDK comprises of two clients:
+The SDK comprises of two clients:
-1. EventClient, it is for importing data into the PredictionIO platform.
+1. EventClient, it is for importing data into the PredictionIO platform.
2. EngineClient, it is for querying PredictionIO Engine Instance, submit query
and extract prediction results.
-Please read `PredictionIO Quick Start
-<http://docs.prediction.io/0.8.3/recommendation/quickstart.html>`_ for
-detailed explanation.
+The SDK also provides a FileExporter for you to write events to a JSON file
+in the same way as EventClient. The JSON file can be used by "pio import"
+for batch data import.
+
+Please read `PredictionIO Event API <http://docs.prediction.io/datacollection/eventapi/>`_ for explanation of
+how SDK can be used to import events.
predictionio.EventClient Class
------------------------------
@@ -38,7 +41,7 @@
handling concurrent requests (although setting "threads" to 1 will still
work). The optimal setting depends on your system and application
requirement.
-
+
predictionio.EngineClient Class
------------------------------
@@ -46,12 +49,20 @@
.. autoclass:: EngineClient
:members:
+
predictionio.AsyncRequest Class
------------------------------
.. autoclass:: AsyncRequest
:members:
+predictionio.FileExporter Class
+-------------------------------
+
+.. autoclass:: FileExporter
+ :members:
+
+
predictionio SDK Usage Notes
-------------------------
@@ -94,7 +105,7 @@
>>> <log the error>
-Batch Import Data
+Batch Import Data with EventClient
^^^^^^^^^^^^^^^^^^^^^
When you import large amount of data at once, you may also use asynchronous
@@ -121,4 +132,10 @@
>>> except:
>>> <log the error>
+Batch Import Data with FileExporter and "pio import"
+^^^^^^^^^^^^^^^^^^^^^^^
+You can use FileExporter to create events and write to a JSON file which can
+be used by "pio import". Pleas see `Importing Data in Batch <http://docs.prediction.io/datacollection/batchimport/>`_ for more details.
+
+Note that this method is much faster than batch import with EventClient.