[solrmarc] r1789 committed - expand part_text to 245fgnp...

0 views
Skip to first unread message

solr...@googlecode.com

unread,
Mar 16, 2015, 2:52:46 PM3/16/15
to solrmarc...@googlegroups.com
Revision: 1789
Author: rh...@virginia.edu
Date: Mon Mar 16 18:52:32 2015 UTC
Log: expand part_text to 245fgnp
Change subject_text definition to exclude fields where indicator 2 is 7 and
the values of subfield 2 is not one of a short list.
Change isbn field handling to NOT discard the X check digit.
https://code.google.com/p/solrmarc/source/detail?r=1789

Modified:
/trunk/examples/UvaBlacklight/blacklight_index.properties

=======================================
--- /trunk/examples/UvaBlacklight/blacklight_index.properties Thu Apr 17
20:31:42 2014 UTC
+++ /trunk/examples/UvaBlacklight/blacklight_index.properties Mon Mar 16
18:52:32 2015 UTC
@@ -9,7 +9,7 @@
notes_text = 505a
uniform_title_text = 130adflnp:240aflnp
alternate_form_title_text = 246abfnp:780st:785st:773st:111tfnp
-part_text = 245np
+part_text = 245fgnp

title_display = custom, removeTrailingPunct(245a)
title_facet = custom, getSortableTitle
@@ -71,8 +71,10 @@
url_display = custom, getLabelledURLnew("")
# getLabelledURL - grabs all 856 u fields, if there is a z subfield use
that as a label, otherwise use the default.

-subject_text =
600[a-z]:610[a-z]:611[a-z]:630[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z]:520ab
-subject_facet = custom,
getAllSubfields(600[a-z]:610[a-z]:611[a-z]:630[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z], "
-- ")
+#subject_text =
600[a-z]:610[a-z]:611[a-z]:630[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z]:520ab
+#subject_facet = custom,
getAllSubfields(600[a-z]:610[a-z]:611[a-z]:630[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z], "
-- ")
+subject_text = custom,
getSubjectFieldsAsText(600[a-z]:610[a-z]:611[a-z]:630[a-z]:648[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z]:520ab)
+subject_facet = custom,
getSubjectFieldsAsFacet(600[a-z]:610[a-z]:611[a-z]:630[a-z]:648[a-z]:650[a-z]:651[a-z]:655[a-z]:690[a-z], "
-- ")

call_number_broad_facet = custom,
getCallNumberPrefixNew(callnumber_map.properties, 1)
# getCallNumberPrefixNew - selects a single 'best' LC callnumber from the
999a subfield and the 050ab subfields
@@ -178,6 +180,7 @@

fund_code_facet = custom,
getFundCode("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt")
date_received_facet = custom,
getDateReceived("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt")
+book_plate_name_display = custom,
getBookPlateURL("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt",
bookplate_map.properties(fund_name))
book_plate_url_display = custom,
getBookPlateURL("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt", bookplate_map.properties)
book_plate_thumb_url_display = custom,
getBookPlateURL("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt",
bookplate_map.properties(thumb))
book_plate_facet = custom,
getBookPlateURL("http://virgo.lib.virginia.edu/booklistsMonthly.txt|
http://virgo.lib.virginia.edu/booklists.txt", bookplate_map.properties),
(pattern_map.has_bookplate)
@@ -226,4 +229,4 @@
pattern_map.call_num1.pattern_0 = ([^|]*)\\|.*=>$1
pattern_map.call_num2.pattern_0 = [^|]*\\|(.*)=>$1

-pattern_map.isbn_clean.pattern_0 = ([- 0-9]*[0-9]).*=>$1
+pattern_map.isbn_clean.pattern_0 = ([- 0-9]*[0-9Xx]).*=>$1
Reply all
Reply to author
Forward
0 new messages