About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:csv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
indexing:csv [2021/08/03 11:58] – [1. Create configuration] demiankatzindexing:csv [2023/11/10 13:00] (current) demiankatz
Line 1: Line 1:
 ====== Importing CSV Files ====== ====== Importing CSV Files ======
  
-:!: This feature was added in VuFind 8.0.+:!: This feature was added in VuFind® 8.0.
  
-Tabular data is commonly distributed as "comma-separated values" (CSV) files, and any spreadsheet-style data can be easily converted to the CSV format. While the CSV format is somewhat limited (particularly if you are dealing with multi-valued fields), it is commonly used, and may be a useful source of input for your VuFind index. Fortunately, a tool exists to load CSV files directly into VuFind's Solr instance.+Tabular data is commonly distributed as "comma-separated values" (CSV) files, and any spreadsheet-style data can be easily converted to the CSV format. While the CSV format is somewhat limited (particularly if you are dealing with multi-valued fields), it is commonly used, and may be a useful source of input for your VuFind® index. Fortunately, a tool exists to load CSV files directly into VuFind®'s Solr instance.
  
 ===== Import Workflow ===== ===== Import Workflow =====
Line 21: Line 21:
 </code> </code>
  
-In the above example, note that /path/to/input_file.csv is the full path to the input CSV file, whereas name_of_config.ini is simply the name of the configuration file you created without any path specified -- VuFind will search for it automatically in your $VUFIND_LOCAL_DIR/import directory.+In the above example, note that /path/to/input_file.csv is the full path to the input CSV file, whereas name_of_config.ini is simply the name of the configuration file you created without any path specified -- VuFind® will search for it automatically in your $VUFIND_LOCAL_DIR/import directory.
  
 The ingest tool also supports some optional switches, including a --test-only mode which will display the result of the ingest on the console instead of sending it to Solr (useful for testing/debugging), and an --index switch you can use to load data into non-standard Solr cores. For full details, you can run: The ingest tool also supports some optional switches, including a --test-only mode which will display the result of the ingest on the console instead of sending it to Solr (useful for testing/debugging), and an --index switch you can use to load data into non-standard Solr cores. For full details, you can run:
Line 29: Line 29:
 </code> </code>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
indexing/csv.1627991924.txt.gz · Last modified: 2021/08/03 11:58 by demiankatz