Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:solrmarc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
indexing:solrmarc [2016/12/16 13:58] – [Customizing Import Mappings] demiankatz | indexing:solrmarc [2018/03/05 14:34] – [Customizing Format Determination] demiankatz | ||
---|---|---|---|
Line 24: | Line 24: | ||
===== Customizing Translation Maps ===== | ===== Customizing Translation Maps ===== | ||
- | One of the features of SolrMarc is the ability to translate values found in MARC into different strings using translation map files (i.e. language_map.properties). | + | One of the features of SolrMarc is the ability to translate values found in MARC into different strings using translation map files (i.e. language_map.properties). |
Starting with VuFind 1.0RC2, translation maps are found in the import/ | Starting with VuFind 1.0RC2, translation maps are found in the import/ | ||
+ | |||
+ | Starting with VuFind 2.x, translation maps can be overridden in the [[configuration: | ||
Prior to RC2, translation maps are embedded in the SolrMarc .jar file, making them more difficult (but certainly not impossible) to modify. | Prior to RC2, translation maps are embedded in the SolrMarc .jar file, making them more difficult (but certainly not impossible) to modify. | ||
Line 32: | Line 34: | ||
===== Customizing Format Determination ===== | ===== Customizing Format Determination ===== | ||
- | One of the most commonly-requested VuFind customizations involves changing the way record formats are assigned. | + | One of the most commonly-requested VuFind customizations involves changing the way record formats are assigned. The method for this depends on your VuFind version. |
- | By default, formats are generated using the getFormat function built into SolrMarc. | + | ==== VuFind 4.0 and newer ==== |
+ | |||
+ | More recent versions of VuFind determine formats using a getFormat function found in [[https:// | ||
+ | |||
+ | ==== VuFind 3.x and earlier ==== | ||
+ | |||
+ | By default, formats are generated | ||
- Copy import/ | - Copy import/ | ||
Line 42: | Line 50: | ||
===== Custom Indexing Functions ===== | ===== Custom Indexing Functions ===== | ||
+ | ==== Dynamically-Compiled Java Code ==== | ||
+ | |||
+ | :!: This option is only available in SolrMarc 3.0 and later, but it is usually the preferred option when available. The other three options below are more relevant to SolrMarc 2.x and earlier, and the documentation links they provide may be outdated. | ||
+ | |||
+ | By putting custom Java code in the import/ | ||
+ | |||
+ | See [[indexing: | ||
==== Compiled Custom Functions ==== | ==== Compiled Custom Functions ==== | ||
Line 68: | Line 83: | ||
(just replace " | (just replace " | ||
- | |||
- | Here is the [[http:// | ||
- | |||
===== Pre-Processing Records ===== | ===== Pre-Processing Records ===== |
indexing/solrmarc.txt · Last modified: 2024/02/23 11:34 by demiankatz