To get text in Solr, you must be able to extract it. The Lucene Connector is designed for this. If you somehow get the source code in another way, you can use the DataImportHandler to import the information. If you index the text correctly and have a good layout, you can get successful search results.
source
share