The following code instantiates a TupleSolrOutputFormat with a certain Hadoop Configuration and a File pointing to "SOLR Home".
"SOLR Home" must be a folder that contains a sub-folder "conf" with, at least, files "schema.xml" and "solrconfig.xml". These files will be used for creating the SOLR index. For those who used it, the idea is the same than that of SOLR-1301.

TupleDocumentConverter

In order to index Tuples they must be converted to SolrInputDocument. This conversion process is done by a TupleDocumentConverter. Pangool comes with a default TupleDocumentConverter called DefaultTupleDocumentConverter which will be OK for most of the cases. This converter maps Pangool primitive fields (INT, LONG, STRING, DOUBLE, FLOAT, BOOLEAN) to SOLR primitive fields.
More advanced converters can be implemented and passed as a parameter to the OutputFormat: