Update document-api.markdown

using AddPropertyIndex
Merge pull request #113 from ShayHassidim/patch-49

Update document-api.markdown