Hello! > is there need to allot a unique id to every file?
You don`t need one, unique id is not mandatory, but many features wont work without it. > do we have to specify the id manually or solr does it? Solr doesn`t do it automatically, You have to do it. > how to allot an unique id to text file? Just generate an id in your application and pass it to ie. xml file. If you have some questions about uniqe id, this page should be a place for You http://wiki.apache.org/solr/UniqueKey -- Regards, Rafał Kuć