fixed index/search api endpoints
make CommentInsert insertion method public