@@ -146,7 +146,7 @@ hosted locally at port ``9200`` by calling:
146146
147147 JSONObject connectionInfo = JSONValue.parse(
148148 "{\"hosts\": [\"elasticsearch\"]}"
149- );
149+ );
150150 JSONObject externalConnector = api.createExternalConnector(
151151 elasticsearch, connectionInfo);
152152```
@@ -170,7 +170,7 @@ Here's a sample invocation:
170170 JSONObject args = JSONValue.parse(
171171 "{\"name\": \"my source\",
172172 \"source_parser\": {\"missing_tokens\": [\"?\""]}}"
173- );
173+ );
174174 JSONObject source = api.createSource("./data/iris.csv", args);
175175```
176176
@@ -985,13 +985,13 @@ A few examples:
985985First 5 sources created before April 1st, 2012
986986^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
987987
988- api.listSources("limit=5; created__lt=2012-04-1");
988+ api.listSources("limit=5& created__lt=2012-04-1");
989989
990990
991991First 10 datasets bigger than 1MB
992992^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
993993
994- api.listDatasets("limit=10; size__gt=1048576");
994+ api.listDatasets("limit=10& size__gt=1048576");
995995
996996
997997Models with more than 5 fields (columns)
@@ -1022,7 +1022,7 @@ Sources ordered by size
10221022Datasets created before April 1st, 2012 ordered by size
10231023^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10241024
1025- api.listDatasets("created__lt=2012-04-1; order_by=size");
1025+ api.listDatasets("created__lt=2012-04-1& order_by=size");
10261026
10271027Models ordered by number of predictions (in descending order).
10281028^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments