Unstructured text file is not easy to index as it does not have 'id' in Solr. However, Solr support indexing unstructured text file. This illustrates how to index unstructured text file.