add
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/4bcf9d96 Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/4bcf9d96 Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/4bcf9d96 Branch: refs/heads/master Commit: 4bcf9d96625ba700f122b959c063cb34f60fcd7e Parents: bbdc661 Author: daewon <dae...@apache.org> Authored: Sat Dec 29 11:51:09 2018 +0900 Committer: daewon <dae...@apache.org> Committed: Sat Dec 29 11:51:09 2018 +0900 ---------------------------------------------------------------------- doc/source/api/management/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/4bcf9d96/doc/source/api/management/index.rst ---------------------------------------------------------------------- diff --git a/doc/source/api/management/index.rst b/doc/source/api/management/index.rst index 17061b0..be18a36 100644 --- a/doc/source/api/management/index.rst +++ b/doc/source/api/management/index.rst @@ -345,11 +345,11 @@ The following is an example of adding index ``play_count`` to a label ``graph_te .. code:: bash - // add prop first + # add prop first curl -XPOST localhost:9000/admin/addProp/graph_test -H 'Content-Type: Application/json' -d ' { "name": "play_count", "defaultValue": 0, "dataType": "integer" }' - // then add index + # then add index curl -XPOST localhost:9000/admin/addIndex -H 'Content-Type: Application/json' -d ' { "label": "graph_test",