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 2009/04/24 18:10:50 UTC
[Solr Wiki] Update of "UpdateCSV" by FergusMcMenemie
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by FergusMcMenemie:
http://wiki.apache.org/solr/UpdateCSV
The comment on the change is:
Highlight a possible performance inprovement.
------------------------------------------------------------------------------
=== encapsulator ===
The character optionally used to surround values to preserve characters such as the CSV separator or whitespace.
- This standard CSV format handles the encapsulator itself appearing in an encapsulated vaue by doubling the encapsulator.
+ This standard CSV format handles the encapsulator itself appearing in an encapsulated value by doubling the encapsulator.
CSV Example of quotes inside an encapsulated value:
{{{
@@ -135, +135 @@
The target Solr field of any split should be multiValued.
=== overwrite ===
- If {{{true}}} (the default), overwrite documents based on the uniqueKey field declared in the solr schema.
+ If {{{true}}} (the default), check for and overwrite duplicate documents, based on the uniqueKey field declared in the solr schema. If you know the documents you are indexing do not contain any duplicates then you may see a considerable speed up with {{{&overwrite=false}}}.
=== commit ===
Commit changes after all records in this request have been indexed. The default is {{{commit=false}}} to avoid the potential performance impact of frequent commits.