adding editid and published articles to the search index properly