[WIP]index content to search index

- [x] index document