Hello! You can just pass the name of the file to the 'literal' parameter. For example adding
literal.filename=my_file.csv would set the 'filename' field of your document with the value of 'my_file.csv'. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > Thx for the quick answer. > Can you help a little more? I don't really got the concept of literal. > How can I set a field with the source absolute path? > I mean how can I find out the parameter names? > An example will be really help full. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Indexing-CSV-files-with-filenames-tp4006165p4006177.html > Sent from the Solr - User mailing list archive at Nabble.com.