The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 4625f8c1 authored by Demian Katz's avatar Demian Katz
Browse files

Upgrade to SolrMarc 2.6.

Resolves VUFIND-815.
parent 489c1dd4
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -120,11 +120,11 @@ public String getDeweySortable(Record record, String fieldSpec) {
*
* @param record
* @param fieldSpec - which MARC fields / subfields need to be analyzed
* @return Set containing normalized Dewey numbers extracted from specified fields.
* @return List containing normalized Dewey numbers extracted from specified fields.
*/
public Set getDeweySortables(Record record, String fieldSpec) {
public List getDeweySortables(Record record, String fieldSpec) {
// Initialize our return value:
Set result = new LinkedHashSet();
List result = new LinkedList();
// Loop through the specified MARC fields:
Set input = indexer.getFieldList(record, fieldSpec);
......
......@@ -36,9 +36,9 @@ title_sort = custom, getSortableTitle
series = 440ap:800abcdfpqt:830ap
series2 = 490a
publisher = script(getpublishers.bsh), getPublishers
publishDate = script(getdate.bsh), getDates
publishDateSort = script(getdate.bsh), getFirstDate
publisher = custom, getPublishers
publishDate = custom, getDates
publishDateSort = custom, getFirstDate
physical = 300abcefg:530abcd
dateSpan = 362a
......@@ -76,7 +76,7 @@ dewey-tens = custom, getDeweyNumber(082a:083a, 10), ddc22_map.properties(tens)
dewey-ones = custom, getDeweyNumber(082a:083a, 1), ddc22_map.properties(ones)
dewey-full = custom, getDeweySearchable(082a:083a)
dewey-sort = custom, getDeweySortable(082a:083a)
dewey-sort-browse = script(dewey.bsh), getDeweySortables(082a:083a)
dewey-sort-browse = custom, getDeweySortables(082a:083a)
dewey-raw = 082a:083a
# Extract the numeric portion of the OCLC number using a pattern map:
......@@ -84,4 +84,4 @@ oclc_num = 035a, (pattern_map.oclc_num)
pattern_map.oclc_num.pattern_0 = \\(OCoLC\\)[^0-9]*[0]*([0-9]+)=>$1
pattern_map.oclc_num.pattern_1 = ocm[0]*([0-9]+)[ ]*[0-9]*=>$1
pattern_map.oclc_num.pattern_2 = ocn[0]*([0-9]+).*=>$1
pattern_map.oclc_num.pattern_3 = on[0]*([0-9]+).*=>$1
\ No newline at end of file
pattern_map.oclc_num.pattern_3 = on[0]*([0-9]+).*=>$1
......@@ -481,7 +481,7 @@ znd = Zande
zul = Zulu
zun = Zuni
zza = Zaza
zxx = Music
zxx = No linguistic content
??? = Unknown
mul = Multiple
mis = Unknown
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment