add documents in vocabulary index