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.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
indexing:csv [2021/07/21 20:23] – [1. Create configuration] demiankatz | indexing:csv [2023/11/10 13:00] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Importing CSV Files ====== | ====== Importing CSV Files ====== | ||
- | :!: This feature was added in VuFind | + | :!: This feature was added in VuFind® |
- | Tabular data is commonly distributed as " | + | Tabular data is commonly distributed as " |
===== Import Workflow ===== | ===== Import Workflow ===== | ||
Line 10: | Line 10: | ||
==== 1. Create configuration ==== | ==== 1. Create configuration ==== | ||
- | Create a configuration file in the " | + | Create a configuration file in the " |
The configuration file gives you a lot of control over how the CSV file is read, including settings to handle header rows, different character encodings, mapping of columns to Solr fields, manipulation of data values with custom code, and more. See the comments in the csv.ini example for full details. | The configuration file gives you a lot of control over how the CSV file is read, including settings to handle header rows, different character encodings, mapping of columns to Solr fields, manipulation of data values with custom code, and more. See the comments in the csv.ini example for full details. | ||
Line 21: | Line 21: | ||
</ | </ | ||
- | In the above example, note that / | + | In the above example, note that / |
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/ | 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/ | ||
Line 29: | Line 29: | ||
</ | </ | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
indexing/csv.1626899037.txt.gz · Last modified: 2021/07/21 20:23 by demiankatz