My problem is more like the left hand side of the equatation. Is it ${f.name} or something? On Sep 7, 2012 5:36 PM, "Rafał Kuć-3 [via Lucene]" < ml-node+s472066n4006179...@n3.nabble.com> wrote:
> 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. > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Indexing-CSV-files-with-filenames-tp4006165p4006179.html > To unsubscribe from Indexing CSV files with filenames, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4006165&code=ZWR2aWNpZkBnbWFpbC5jb218NDAwNjE2NXwtMTk5Mjg2MTM3OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-CSV-files-with-filenames-tp4006165p4006194.html Sent from the Solr - User mailing list archive at Nabble.com.