add collection id to lucene document