how did you find the file name? When i do posting, i use wildcard *.csv. Your
way seems work only when you are posting by each
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
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
>
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 - Elastic
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.
Hello!
In Solr 4.0 you will have the ability to add arbitrary field along
with all documents from a single file -
http://wiki.apache.org/solr/UpdateCSV#literal
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch
> Hi!
> I've have a set of CSV file