You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/08/02 17:40:49 UTC

[Solr Wiki] Update of "UpdateCSV" by ErikHatcher

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "UpdateCSV" page has been changed by ErikHatcher:
http://wiki.apache.org/solr/UpdateCSV?action=diff&rev1=15&rev2=16

Comment:
Added literal. from SOLR-1032

  === keepEmpty ===
  Keep and index empty (zero length) field values.  This may be specified globally, or on a per-field basis.  The default is {{{keepEmpty=false}}}.
  
+ === literal ===
+ <!> [[Solr4.0]] Adds fixed field name/value to all documents.
+ 
+ Example: Adds a "datasource" field with value equal to "products" for every document indexed from the CSV
+ {{{
+ literal.datasource=products
+ }}}
+ 
  === map ===
  Specifies a mapping between one value and another.  The string on the LHS of the colon will be replaced with the string on the RHS.  This parameter can be specified globally or on a per-field basis.