More tests and messing around
authorHeikki Levanto <heikki@indexdata.dk>
Fri, 17 Jul 2015 13:49:42 +0000 (15:49 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Fri, 17 Jul 2015 13:49:42 +0000 (15:49 +0200)
doc/common
test/paz_1009.urls
test/paz_1009_initdoc-only-1986913.xml [new file with mode: 0644]
test/paz_1009_settings2.xml

index f6a5ec8..6cdcfde 160000 (submodule)
@@ -1 +1 @@
-Subproject commit f6a5ec8c243e2a6829a2917cb30c849612d6fd01
+Subproject commit 6cdcfde2c770531a571d755ed070059ee7ab4fc9
index 5ded57a..1e094b3 100644 (file)
@@ -1,7 +1,13 @@
 http://localhost:9763/search.pz2?command=init&clear=1
-paz_1009_settings2.xml http://localhost:9763/search.pz2?session=1&command=settings
-http://localhost:9763/search.pz2?session=1&command=search&query=water
+paz_1009_settings3.xml http://localhost:9763/search.pz2?session=1&command=settings
+
+
+http://localhost:9763/search.pz2?session=1&command=search&query=water&filter=pz:id%3D1986913
 w http://localhost:9763/search.pz2?session=1&command=show&num=1&block=1
 http://localhost:9763/search.pz2?session=1&command=bytarget
 http://localhost:9763/search.pz2?session=1&command=termlist&num=50&name=xtargets%2Cseries%2Cpublisher
 
+http://localhost:9763/search.pz2?session=1&command=search&query=water&filter=pz:id%3D1986913&limit=publisher%3DU.S.%20G.P.O
+w http://localhost:9763/search.pz2?session=1&command=show&num=1&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&num=50&name=xtargets%2Cseries%2Cpublisher
diff --git a/test/paz_1009_initdoc-only-1986913.xml b/test/paz_1009_initdoc-only-1986913.xml
new file mode 100644 (file)
index 0000000..63b2bd4
--- /dev/null
@@ -0,0 +1,810 @@
+<session>\r
+  <namedTemplates xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\r
+    <xsl:template name="first-40-chars">\r
+      <xsl:param name="subfield-value" />\r
+      <xsl:value-of select="substring($subfield-value,1,40)" />\r
+    </xsl:template>\r
+    <xsl:template name="first-4-digits">\r
+      <xsl:param name="subfield-value" />\r
+      <xsl:value-of select="substring(translate($subfield-value,translate($subfield-value,'0123456789', ''), ''),1,4)" />\r
+    </xsl:template>\r
+    <xsl:template name="medium" xmlns:tmarc="http://www.indexdata.com/turbomarc">\r
+      <xsl:variable name="l">\r
+        <xsl:choose>\r
+          <xsl:when test="tmarc:l">\r
+            <xsl:value-of select="tmarc:l" />\r
+          </xsl:when>\r
+          <xsl:when test="MarcLeader">\r
+            <xsl:value-of select="MarcLeader" />\r
+          </xsl:when>\r
+        </xsl:choose>\r
+      </xsl:variable>\r
+      <xsl:variable name="c007">\r
+        <xsl:choose>\r
+          <xsl:when test="tmarc:c007">\r
+            <xsl:value-of select="tmarc:c007" />\r
+          </xsl:when>\r
+          <xsl:when test="Tag007">\r
+            <xsl:value-of select="Tag007" />\r
+          </xsl:when>\r
+        </xsl:choose>\r
+      </xsl:variable>\r
+      <xsl:variable name="c008">\r
+        <xsl:choose>\r
+          <xsl:when test="tmarc:c008">\r
+            <xsl:value-of select="tmarc:c008" />\r
+          </xsl:when>\r
+          <xsl:when test="Tag008">\r
+            <xsl:value-of select="Tag008" />\r
+          </xsl:when>\r
+        </xsl:choose>\r
+      </xsl:variable>\r
+      <xsl:variable name="typeofrec" select="substring($l, 7, 1)" />\r
+      <xsl:variable name="biblevel" select="substring($l, 8, 1)" />\r
+      <xsl:variable name="format" select="substring($c008, 24, 1)" />\r
+      <xsl:variable name="typemp" select="substring($c008, 26, 1)" />\r
+      <xsl:variable name="typecf" select="substring($c008, 27, 1)" />\r
+      <xsl:variable name="formvmmp" select="substring($c008, 30, 1)" />\r
+      <xsl:variable name="typevm" select="substring($c008, 34, 1)" />\r
+      <xsl:variable name="typese" select="substring($c008, 22, 1)" />\r
+      <xsl:variable name="oclca" select="substring($c007, 1, 1)" />\r
+      <xsl:variable name="oclcb" select="substring($c007, 2, 1)" />\r
+      <xsl:variable name="oclcd" select="substring($c007, 4, 1)" />\r
+      <xsl:variable name="oclce" select="substring($c007, 5, 1)" />\r
+      <xsl:variable name="oclcg" select="substring($c007, 7, 1)" />\r
+      <xsl:choose>\r
+        <xsl:when test="$biblevel='s' and $typese='p'">\r
+          <xsl:text>per</xsl:text>\r
+          <!-- per ignores typeOfRec? -->\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='a'">\r
+          <xsl:choose>\r
+            <xsl:when test="$biblevel='b' or $biblevel='i' or $biblevel='s'">\r
+              <xsl:choose>\r
+                <xsl:when test="$format='s'">ese</xsl:when>\r
+                <xsl:otherwise>ser</xsl:otherwise>\r
+              </xsl:choose>\r
+            </xsl:when>\r
+            <xsl:when test="$biblevel!='a' and $biblevel!='i' and $biblevel!='s'">\r
+              <xsl:choose>\r
+                <xsl:when test="$oclca='c'">ebk</xsl:when>\r
+                <xsl:when test="$format='a' or $format='b' or $format='c'">mic</xsl:when>\r
+                <xsl:when test="$format='d'">lpt</xsl:when>\r
+                <xsl:when test="$format='f'">brl </xsl:when>\r
+                <xsl:when test="$format='s'">erd</xsl:when>\r
+                <xsl:otherwise>bks</xsl:otherwise>\r
+              </xsl:choose>\r
+            </xsl:when>\r
+            <xsl:when test="$biblevel='i' and ($typese='d' or $typese='w')">web</xsl:when>\r
+            <xsl:when test="$biblevel='s' and $format='s' and $typese='n'">enw</xsl:when>\r
+            <xsl:when test="$biblevel='s' and $format='s' and $typese!='n'">ejr</xsl:when>\r
+            <xsl:when test="$biblevel='s' and $typese='n'">new</xsl:when>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <!-- typeofrec=a -->\r
+        <xsl:when test="$typeofrec='c' or $typeofrec='d'">pmu</xsl:when>\r
+        <xsl:when test="($typeofrec='e' or $typeofrec='f') and       $typemp='e' and $typecf='n'">atl</xsl:when>\r
+        <!-- guessing at meaning of stylesheet here -->\r
+        <xsl:when test="$typeofrec='e' and ($typemp='d' or $oclca='d')">glb</xsl:when>\r
+        <xsl:when test="($typeofrec='e' or $typeofrec='f') and $formvmmp='s'">emp</xsl:when>\r
+        <xsl:when test="$typeofrec='e' or $typeofrec='f'">pcm</xsl:when>\r
+        <xsl:when test="$typeofrec='t' or $typeofrec='p' or $typeofrec='b'">mss</xsl:when>\r
+        <xsl:when test="$typeofrec='g'">\r
+          <xsl:choose>\r
+            <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='v'">dvd</xsl:when>\r
+            <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='s'">blu</xsl:when>\r
+            <xsl:when test="$oclca='v' and $oclcb='f'">vid</xsl:when>\r
+            <xsl:when test="$typevm='m' or $oclca='m'">mot</xsl:when>\r
+            <xsl:when test="$typevm='f'">fst</xsl:when>\r
+            <xsl:when test="$typevm='s'">sld</xsl:when>\r
+            <xsl:when test="$oclca='c' and $oclcb='r'">evd</xsl:when>\r
+            <xsl:otherwise>pgr</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='j'">\r
+          <xsl:choose>\r
+            <xsl:when test="$oclca='s' and $oclcb='s'">mcs</xsl:when>\r
+            <xsl:when test="$oclca='s' and $oclcb='d' and $oclcg='g'">mcd</xsl:when>\r
+            <xsl:when test="$oclca='s' and $oclcb='d' and  $oclcd='b'">mlp</xsl:when>\r
+            <xsl:when test="$format='q'">mpl</xsl:when>\r
+            <xsl:when test="$format='o' or $format='s'">emu</xsl:when>\r
+            <xsl:otherwise>msr</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='i'">\r
+          <xsl:choose>\r
+            <xsl:when test="$oclca='s' and $oclcb='d' and $oclcg='g'">acd</xsl:when>\r
+            <xsl:when test="$oclca='s' and $oclcb='s'">acs</xsl:when>\r
+            <xsl:when test="$oclca='s' and $oclcb='d' and $oclcd='b'">alp</xsl:when>\r
+            <xsl:when test="$format='q'">apl</xsl:when>\r
+            <xsl:when test="$format='o' or $format='s'">eab</xsl:when>\r
+            <xsl:otherwise>nsr</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='m'">\r
+          <xsl:choose>\r
+            <xsl:when test="$typecf='g'">cgm</xsl:when>\r
+            <xsl:when test="$typecf='j'">onl</xsl:when>\r
+            <xsl:when test="$typecf='b'">cpg</xsl:when>\r
+            <xsl:otherwise>elr</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='k'">\r
+          <xsl:choose>\r
+            <xsl:when test="$typevm='o'">fcd</xsl:when>\r
+            <xsl:when test="$typevm='i'">pic</xsl:when>\r
+            <xsl:otherwise>ngr</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+        <xsl:when test="$typeofrec='o'">kit</xsl:when>\r
+        <xsl:when test="$typeofrec='r'">\r
+          <xsl:choose>\r
+            <xsl:when test="$typevm='a' or $typevm='c'">frt</xsl:when>\r
+            <xsl:when test="$typevm='g'">gme</xsl:when>\r
+            <xsl:when test="$typevm='w'">toy</xsl:when>\r
+            <xsl:otherwise>art</xsl:otherwise>\r
+          </xsl:choose>\r
+        </xsl:when>\r
+      </xsl:choose>\r
+    </xsl:template>\r
+    <xsl:template name="opac-holdings" xmlns:pz="http://www.indexdata.com/pazpar2/1.0">\r
+      <xsl:for-each select="holding">\r
+        <pz:metadata empty="no_item_id" type="brief-holding">\r
+          <xsl:attribute name="callnumber">\r
+            <xsl:value-of select="callNumber" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="locallocation">\r
+            <xsl:value-of select="localLocation" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="shelvinglocation">\r
+            <xsl:value-of select="shelvingLocation" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="shelvingdata">\r
+            <xsl:value-of select="shelvingdata" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="reproductionnote">\r
+            <xsl:value-of select="reproductionnote" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="publicnote">\r
+            <xsl:value-of select="publicNote" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="copynumber">\r
+            <xsl:value-of select="copyNumber" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="itemid">\r
+            <xsl:value-of select="circulations/circulation/itemId/@value" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="availablenow">\r
+            <xsl:value-of select="sum(circulations/circulation/availableNow/@value)" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="restrictions">\r
+            <xsl:value-of select="circulations/circulation/restrictions" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="temporarylocation">\r
+            <xsl:value-of select="circulations/circulation/temporaryLocation" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="midspine">\r
+            <xsl:value-of select="circulations/circulation/midspine" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="availabiltydate">\r
+            <xsl:value-of select="circulations/circulation/availabiltyDate/@value" />\r
+          </xsl:attribute>\r
+          <xsl:attribute name="availablethru">\r
+            <xsl:value-of select="circulations/circulation/availableThru/@value" />\r
+          </xsl:attribute>\r
+        </pz:metadata>\r
+      </xsl:for-each>\r
+    </xsl:template>\r
+    <xsl:template name="marc-language">\r
+      <xsl:param name="field-value" />\r
+      <xsl:value-of select="substring($field-value,36,3)" />\r
+    </xsl:template>\r
+    <xsl:template name="marc-audiencelevel">\r
+      <xsl:param name="field-value" />\r
+      <xsl:value-of select="substring($field-value,23,1)" />\r
+    </xsl:template>\r
+  </namedTemplates>\r
+  <service xmlns="http://www.indexdata.com/pazpar2/1.0">\r
+    <timeout session="600" z3950_operation="30" z3950_session="180" />\r
+    <rank cluster="yes" lead="1" length="log" debug="no" />\r
+    <ccldirective name="and" value="AND" />\r
+    <ccldirective name="or" value="OR" />\r
+    <ccldirective name="not" value="NOT" />\r
+    <ccldirective name="truncation" value="*" />\r
+    <ccldirective name="and" value="AND" />\r
+    <icu_chain id="relevance" locale="en">\r
+      <transform rule="[:Control:] Any-Remove" />\r
+      <tokenize rule="l" />\r
+      <transform rule="[[:WhiteSpace:][:Punctuation:]`] Remove" />\r
+      <casemap rule="l" />\r
+    </icu_chain>\r
+    <icu_chain id="sort" locale="en">\r
+      <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]`] Remove" />\r
+      <casemap rule="l" />\r
+    </icu_chain>\r
+    <icu_chain id="mergekey" locale="en">\r
+      <tokenize rule="l" />\r
+      <transform rule="NFD" />\r
+      <transliterate rule="\&amp; &gt; and" />\r
+      <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]`[:Nonspacing Mark:]] Remove" />\r
+      <transform rule="NFC" />\r
+      <casemap rule="l" />\r
+      <join rule="" />\r
+    </icu_chain>\r
+    <icu_chain id="facet" locale="en">\r
+      <display />\r
+      <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]`] Remove" />\r
+      <casemap rule="l" />\r
+    </icu_chain>\r
+  </service>\r
+  <targets>\r
+    <target type="AGService">\r
+      <id>1986913</id>\r
+      <agSessionId>4538684</agSessionId>\r
+      <agCustomerId>wrls</agCustomerId>\r
+      <agServerName>menelaus</agServerName>\r
+      <agHostName>http://dev-wrls-verso.auto-graphics.com</agHostName>\r
+      <displayName>Winding Rivers Library System</displayName>\r
+      <categories>Winding Rivers Library System</categories>\r
+      <maxRecords>60</maxRecords>\r
+      <pz_present_chunk>60</pz_present_chunk>\r
+      <pz_extendrecs>60</pz_extendrecs>\r
+      <cclmap_ALL-HEADING>u=ALL_HEADING</cclmap_ALL-HEADING>\r
+      <cclmap_AUTHOR>u=AUTHOR</cclmap_AUTHOR>\r
+      <cclmap_TITLE>u=TITLE</cclmap_TITLE>\r
+      <cclmap_SUBJECT>u=SUBJECT</cclmap_SUBJECT>\r
+      <cclmap_AGCN>u=AGCN</cclmap_AGCN>\r
+      <cclmap_ISBN>u=ISBN</cclmap_ISBN>\r
+      <cclmap_ISSN>u=ISSN</cclmap_ISSN>\r
+      <cclmap_LCCN>u=LCCN</cclmap_LCCN>\r
+      <cclmap_GPO-SUBDOC-NUMBER>u=GPO_SUBDOC_NUMBER</cclmap_GPO-SUBDOC-NUMBER>\r
+      <cclmap_GPO-ORDER-NUMBER>u=GPO_ORDER_NUMBER</cclmap_GPO-ORDER-NUMBER>\r
+      <cclmap_GPO-MONTHLY-CAT-NUMBER>u=GPO_MONTHLY_CAT_NUMBER</cclmap_GPO-MONTHLY-CAT-NUMBER>\r
+      <cclmap_ORIGINAL-CONTROL-NUMBER>u=ORIGINAL_CONTROL_NUMBER</cclmap_ORIGINAL-CONTROL-NUMBER>\r
+      <cclmap_GPO-ITEM-NUMBER>u=GPO_ITEM_NUMBER</cclmap_GPO-ITEM-NUMBER>\r
+      <cclmap_GPO-REPORT-NUMBER>u=GPO_REPORT_NUMBER</cclmap_GPO-REPORT-NUMBER>\r
+      <cclmap_GPO-SHIP-LIST-NUMBER>u=GPO_SHIP_LIST_NUMBER</cclmap_GPO-SHIP-LIST-NUMBER>\r
+      <cclmap_NOTES>u=NOTES</cclmap_NOTES>\r
+      <cclmap_PUBLISHER-NUMBER>u=PUBLISHER_NUMBER</cclmap_PUBLISHER-NUMBER>\r
+      <cclmap_OCLC-NUMBER>u=OCLC_NUMBER</cclmap_OCLC-NUMBER>\r
+      <cclmap_JOURNAL-TITLE>u=JOURNAL_TITLE</cclmap_JOURNAL-TITLE>\r
+      <cclmap_MATERIAL-DESCRIPTION>u=MATERIAL_DESCRIPTION</cclmap_MATERIAL-DESCRIPTION>\r
+      <cclmap_TITLE-BEGIN-WITH>u=TITLE_BEGIN_WITH</cclmap_TITLE-BEGIN-WITH>\r
+      <cclmap_SUBJECT-BEGIN-WITH>u=SUBJECT_BEGIN_WITH</cclmap_SUBJECT-BEGIN-WITH>\r
+      <cclmap_TITLE-EXACT>u=TITLE_EXACT</cclmap_TITLE-EXACT>\r
+      <cclmap_SUBJECT-EXACT>u=SUBJECT_EXACT</cclmap_SUBJECT-EXACT>\r
+      <cclmap_SERIES-TITLE>u=SERIES_TITLE</cclmap_SERIES-TITLE>\r
+      <cclmap_LOCAL-SYSTEM-NUMBER>u=LOCAL_SYSTEM_NUMBER</cclmap_LOCAL-SYSTEM-NUMBER>\r
+      <cclmap_DEWEY-CALL-NUMBER>u=DEWEY_CALL_NUMBER</cclmap_DEWEY-CALL-NUMBER>\r
+      <cclmap_LC-CALL-NUMBER>u=LC_CALL_NUMBER</cclmap_LC-CALL-NUMBER>\r
+      <cclmap_CODEN>u=CODEN</cclmap_CODEN>\r
+      <cclmap_STANDARD-INDENTIFIER>u=STANDARD_INDENTIFIER</cclmap_STANDARD-INDENTIFIER>\r
+      <cclmap_LOCAL-CALL-NUMBER>u=LOCAL_CALL_NUMBER</cclmap_LOCAL-CALL-NUMBER>\r
+      <cclmap_ITEM-CALL-NUMBER>u=ITEM_CALL_NUMBER</cclmap_ITEM-CALL-NUMBER>\r
+      <cclmap_NAME-AUTHORITY>u=NAME_AUTHORITY</cclmap_NAME-AUTHORITY>\r
+      <cclmap_TITLE-AUTHORITY>u=TITLE_AUTHORITY</cclmap_TITLE-AUTHORITY>\r
+      <cclmap_SUBJECT-AUTHORITY>u=SUBJECT_AUTHORITY</cclmap_SUBJECT-AUTHORITY>\r
+      <cclmap_PUBLISHER-NAME>u=PUBLISHER_NAME</cclmap_PUBLISHER-NAME>\r
+      <cclmap_URL>u=URL</cclmap_URL>\r
+      <cclmap_VOLUME-NUMBER>u=VOLUME_NUMBER</cclmap_VOLUME-NUMBER>\r
+      <cclmap_GMD>u=GMD</cclmap_GMD>\r
+      <cclmap_NLC-NUMBER>u=NLC_NUMBER</cclmap_NLC-NUMBER>\r
+      <cclmap_NATIONAL-AGENCY-NUMBER>u=NATIONAL_AGENCY_NUMBER</cclmap_NATIONAL-AGENCY-NUMBER>\r
+      <cclmap_MAP-NUMBER>u=MAP_NUMBER</cclmap_MAP-NUMBER>\r
+      <cclmap_CALL-NUMBER>u=CALL_NUMBER</cclmap_CALL-NUMBER>\r
+      <cclmap_READING-PROGRAM-NAME>u=READING_PROGRAM_NAME</cclmap_READING-PROGRAM-NAME>\r
+      <cclmap_READING-LEVEL>u=READING_LEVEL</cclmap_READING-LEVEL>\r
+      <cclmap_POINT-LEVEL>u=POINT_LEVEL</cclmap_POINT-LEVEL>\r
+      <cclmap_BARCODE>u=BARCODE</cclmap_BARCODE>\r
+      <cclmap_FULLTEXT-DOCUMENT>u=FULLTEXT_DOCUMENT</cclmap_FULLTEXT-DOCUMENT>\r
+      <cclmap_LEXILE>u=LEXILE</cclmap_LEXILE>\r
+      <cclmap_LEXILE-LEVEL>u=LEXILE_LEVEL</cclmap_LEXILE-LEVEL>\r
+      <cclmap_READING-LEVEL-RC>u=READING_LEVEL_RC</cclmap_READING-LEVEL-RC>\r
+      <cclmap_POINT-LEVEL-RC>u=POINT_LEVEL_RC</cclmap_POINT-LEVEL-RC>\r
+      <cclmap_INTEREST-LEVEL>u=INTEREST_LEVEL</cclmap_INTEREST-LEVEL>\r
+      <cclmap_GENRE-SUBJECT>u=GENRE_SUBJECT</cclmap_GENRE-SUBJECT>\r
+      <cclmap_BA-GENRE-TERM>u=BA_GENRE_TERM</cclmap_BA-GENRE-TERM>\r
+      <cclmap_EXACT-MATCH>u=EXACT_MATCH</cclmap_EXACT-MATCH>\r
+      <cclmap_TITLE-AND-AUTHOR-MATCH>u=TITLE_AND_AUTHOR_MATCH</cclmap_TITLE-AND-AUTHOR-MATCH>\r
+      <cclmap_STANDARD-INDENTIFIER-2>u=STANDARD_INDENTIFIER_2</cclmap_STANDARD-INDENTIFIER-2>\r
+      <cclmap_STANDARD-INDENTIFIER-3>u=STANDARD_INDENTIFIER_3</cclmap_STANDARD-INDENTIFIER-3>\r
+      <cclmap_READING-PROGRAM-NAME-FOR-TITLE-INDEXES>u=READING_PROGRAM_NAME_FOR_TITLE_INDEXES</cclmap_READING-PROGRAM-NAME-FOR-TITLE-INDEXES>\r
+      <cclmap_Languages>u=q_Languages</cclmap_Languages>\r
+      <cclmap_FromPubYear>u=q_FromPubYear</cclmap_FromPubYear>\r
+      <cclmap_ToPubYear>u=q_ToPubYear</cclmap_ToPubYear>\r
+      <cclmap_ScopingLevel>u=q_ScopingLevel</cclmap_ScopingLevel>\r
+      <cclmap_MaterialType>u=q_MaterialType</cclmap_MaterialType>\r
+      <cclmap_CreationDate>u=q_CreationDate</cclmap_CreationDate>\r
+      <cclmap_Formats>u=q_Formats</cclmap_Formats>\r
+      <cclmap_Forms>u=q_Forms</cclmap_Forms>\r
+      <cclmap_IMaterialType>u=q_IMaterialType</cclmap_IMaterialType>\r
+      <cclmap_TargetAudiences>u=q_TargetAudiences</cclmap_TargetAudiences>\r
+      <cclmap_UseSavedQueries>u=q_UseSavedQueries</cclmap_UseSavedQueries>\r
+      <cclmap_title>u=q_SelectedFacets</cclmap_title>\r
+      <cclmap_author>u=q_SelectedFacets</cclmap_author>\r
+      <cclmap_subject>u=q_SelectedFacets</cclmap_subject>\r
+      <cclmap_series>u=q_SelectedFacets</cclmap_series>\r
+      <cclmap_language>u=q_SelectedFacets</cclmap_language>\r
+      <cclmap_audiencelevel>u=q_SelectedFacets</cclmap_audiencelevel>\r
+      <cclmap_location>u=q_SelectedFacets</cclmap_location>\r
+      <cclmap_publisher>u=q_SelectedFacets</cclmap_publisher>\r
+      <cclmap_date>u=q_SelectedFacets</cclmap_date>\r
+      <cclmap_materialtype>u=q_SelectedFacets</cclmap_materialtype>\r
+      <cclmap_medium>u=q_SelectedFacets</cclmap_medium>\r
+      <cclmap_readinglevel>u=q_SelectedFacets</cclmap_readinglevel>\r
+      <cclmap_PHRASE>s=1</cclmap_PHRASE>\r
+      <pqfPrefix>@and @attr 1=q_SortBy RELEVANCY</pqfPrefix>\r
+      <limitmap_title>ccl:title</limitmap_title>\r
+      <limitmap_author>ccl:author</limitmap_author>\r
+      <limitmap_subject>ccl:subject</limitmap_subject>\r
+      <limitmap_series>ccl:series</limitmap_series>\r
+      <limitmap_language>ccl:language</limitmap_language>\r
+      <limitmap_audiencelevel>ccl:audiencelevel</limitmap_audiencelevel>\r
+      <limitmap_location>ccl:location</limitmap_location>\r
+      <limitmap_publisher>ccl:publisher</limitmap_publisher>\r
+      <limitmap_date>ccl:date</limitmap_date>\r
+      <limitmap_subject_person>local: </limitmap_subject_person>\r
+      <limitmap_materialtype>ccl:materialtype</limitmap_materialtype>\r
+      <limitmap_medium>ccl:medium</limitmap_medium>\r
+      <limitmap_readinglevel>ccl:readinglevel</limitmap_readinglevel>\r
+      <limitmap_fromyear>ccl: FromPubYear</limitmap_fromyear>\r
+      <limitmap_toyear>ccl: ToPubYear</limitmap_toyear>\r
+      <limitmap_lang>ccl: Languages</limitmap_lang>\r
+      <limitmap_scoping>ccl: ScopingLevel</limitmap_scoping>\r
+      <limitmap_mtype>ccl: MaterialType</limitmap_mtype>\r
+      <limitmap_imtype>ccl: IMaterialType</limitmap_imtype>\r
+      <limitmap_cdate>ccl: CreationDate</limitmap_cdate>\r
+      <limitmap_formats>ccl: Formats</limitmap_formats>\r
+      <limitmap_forms>ccl: Forms</limitmap_forms>\r
+      <limitmap_targetaudiences>ccl: TargetAudiences</limitmap_targetaudiences>\r
+      <limitmap_useSavedQueries>ccl: UseSavedQueries</limitmap_useSavedQueries>\r
+      <facetmap_split_title>facet_16</facetmap_split_title>\r
+      <facetmap_split_author>facet_01</facetmap_split_author>\r
+      <facetmap_split_medium>facet_02</facetmap_split_medium>\r
+      <facetmap_split_subject>facet_05</facetmap_split_subject>\r
+      <facetmap_split_date>facet_04</facetmap_split_date>\r
+      <facetmap_split_publisher>facet_15</facetmap_split_publisher>\r
+      <facetmap_split_location>facet_06</facetmap_split_location>\r
+      <facetmap_split_materialtype>facet_07</facetmap_split_materialtype>\r
+      <facetmap_split_series>facet_17</facetmap_split_series>\r
+      <facetmap_split_language>facet_03</facetmap_split_language>\r
+      <facetmap_split_audiencelevel>facet_18</facetmap_split_audiencelevel>\r
+      <facetmap_split_readinglevel>facet_19</facetmap_split_readinglevel>\r
+    </target>\r
+  </targets>\r
+  <recordMaps>\r
+    <recordMap type="xml">\r
+      <brief>\r
+        <recordType type="all">\r
+          <field tag="Author" name="156" />\r
+          <field tag="COP" name="164" />\r
+          <field tag="Desc" name="163" />\r
+          <field tag="EP" name="169" />\r
+          <field tag="ISBN" name="161" />\r
+          <field tag="ISSN" name="162" />\r
+          <field tag="Issue" name="167" />\r
+          <field tag="Lexile" name="170" />\r
+          <field tag="PubDay" name="159" />\r
+          <field tag="Publisher" name="157" />\r
+          <field tag="PubMonth" name="158" />\r
+          <field tag="PubYear" name="160" />\r
+          <field tag="Source" name="165" />\r
+          <field tag="SP" name="168" />\r
+          <field tag="Title" name="155" />\r
+          <field tag="Volume" name="166" />\r
+          <field tag="URLField" name="URLField" />\r
+          <field tag="JacketArtURL" name="JacketArtURL" />\r
+          <field tag="AGControlId" name="AGControlId" />\r
+          <field tag="HasMyLibrary" name="HasMyLibrary" />\r
+          <field tag="HoldingCount" name="HoldingCount" />\r
+          <field tag="Field856s" name="Field856s" />\r
+          <field tag="MarcLeader" name="MarcLeader" />\r
+          <field tag="IsDigitalRecord" name="IsDigitalRecord" />\r
+          <field tag="DCFullImageURL" name="DCFullImageURL" />\r
+          <field tag="ISBN" name="ISBN" />\r
+          <field tag="ISSN" name="ISSN" />\r
+          <field tag="OCLCField" name="OCLC" />\r
+          <field tag="UPCField" name="UPC" />\r
+          <field tag="ListFields" name="ListFields" />\r
+          <field tag="PubYears/string" name="PubYear" />\r
+          <field tag="Publishers/string" name="Publisher" />\r
+          <field tag="Subjects/string" name="Subject" />\r
+          <field tag="Series/string" name="Series" />\r
+          <field tag="Locations/string" name="Location" />\r
+          <field tag="IMTypes/string" name="MaterialType" />\r
+          <field tag="Note520A" name="Note520A" />\r
+          <field tag="SystemNumber" name="SystemNumber" />\r
+          <field tag="ACQuisitionSource" name="ACQuisitionSource" />\r
+          <field tag="EContentProductId" name="EContentProductId" />\r
+          <field tag="FullTextURL" name="FullTextURL" />\r
+          <field tag="SubfieldA28" name="SubfieldA28" />\r
+          <field tag="SubfieldB28" name="SubfieldB28" />\r
+          <field tag="Tag856" name="Tag856" />\r
+          <field tag="EcontentJacketArtUrl" name="EcontentJacketArtUrl" />\r
+          <field tag="ReadingLevel/string" name="ReadingLevel" />\r
+        </recordType>\r
+      </brief>\r
+      <indexField>\r
+        <recordType type="all">\r
+          <field tag="Title" name="Title" />\r
+          <field tag="Author" name="Author" />\r
+          <field tag="PubYear" name="Date" />\r
+          <field tag="Publisher" name="Publisher" namedTemplate="first-40-chars" />\r
+          <field tag="Notes" name="Note" />\r
+          <field tag="Subject" name="Subject" />\r
+          <field tag="Subjects/string" name="Subject" />\r
+          <field tag="Locations/string" name="Location" />\r
+          <field tag="IMTypes/string" name="MaterialType" />\r
+          <field tag="Series/string" name="Series" />\r
+          <field tag="LanguageCode" name="Language" />\r
+          <field tag="AudienceLevelCode" name="AudienceLevel" />\r
+          <field tag="ReadingLevel/string" name="ReadingLevel" />\r
+        </recordType>\r
+      </indexField>\r
+    </recordMap>\r
+    <recordMap type="marc">\r
+      <brief>\r
+        <recordType type="Archival Mixed Materials">\r
+          <field tag="245" name="9232" subfields="!w0123456789" />\r
+          <field tag="130" name="9231" subfields="!w0123456789" />\r
+          <field tag="100" name="9230" subfields="!w0123456789" />\r
+          <field tag="260" name="9233" subfields="c" />\r
+          <field tag="260" name="9234" subfields="b" />\r
+          <field tag="264" name="9235" subfields="b" />\r
+          <field tag="264" name="9236" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Books">\r
+          <field tag="245" name="1940" subfields="!w0123456789" />\r
+          <field tag="130" name="1941" subfields="!w0123456789" />\r
+          <field tag="100" name="1942" subfields="!w0123456789" />\r
+          <field tag="260" name="1943" subfields="c" />\r
+          <field tag="260" name="1944" subfields="b" />\r
+          <field tag="264" name="8792" subfields="b" />\r
+          <field tag="264" name="8793" subfields="c" />\r
+          <field tag="856" name="1945" subfields="uy" />\r
+          <field tag="650" name="3118" subfields="ax" />\r
+          <field tag="600" name="3119" subfields="abcdq" />\r
+          <field tag="520" name="3124" subfields="a" />\r
+          <field tag="336" name="8794" subfields="a" />\r
+          <field tag="337" name="8795" subfields="a" />\r
+          <field tag="338" name="8796" subfields="a" />\r
+          <field tag="385" name="8797" subfields="am" />\r
+          <field tag="386" name="8798" subfields="am" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Computer Files">\r
+          <field tag="245" name="9218" subfields="!w0123456789" />\r
+          <field tag="130" name="9217" subfields="!w0123456789" />\r
+          <field tag="100" name="9216" subfields="!w0123456789" />\r
+          <field tag="260" name="9219" subfields="c" />\r
+          <field tag="260" name="9220" subfields="b" />\r
+          <field tag="264" name="9221" subfields="b" />\r
+          <field tag="264" name="9222" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Community Information">\r
+          <field tag="245" name="9225" subfields="!w0123456789" />\r
+          <field tag="130" name="9224" subfields="!w0123456789" />\r
+          <field tag="100" name="9223" subfields="!w0123456789" />\r
+          <field tag="260" name="9226" subfields="c" />\r
+          <field tag="260" name="9227" subfields="b" />\r
+          <field tag="264" name="9228" subfields="b" />\r
+          <field tag="264" name="9229" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Maps">\r
+          <field tag="245" name="9204" subfields="!w0123456789" />\r
+          <field tag="130" name="9203" subfields="!w0123456789" />\r
+          <field tag="100" name="9202" subfields="!w0123456789" />\r
+          <field tag="260" name="9205" subfields="c" />\r
+          <field tag="260" name="9206" subfields="b" />\r
+          <field tag="264" name="9207" subfields="b" />\r
+          <field tag="264" name="9208" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Music Scores">\r
+          <field tag="245" name="9211" subfields="!w0123456789" />\r
+          <field tag="130" name="9210" subfields="!w0123456789" />\r
+          <field tag="100" name="9209" subfields="!w0123456789" />\r
+          <field tag="260" name="9212" subfields="c" />\r
+          <field tag="260" name="9213" subfields="b" />\r
+          <field tag="264" name="9214" subfields="b" />\r
+          <field tag="264" name="9215" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Music">\r
+          <field tag="245" name="9077" subfields="!w0123456789" />\r
+          <field tag="130" name="9078" subfields="!w0123456789" />\r
+          <field tag="100" name="9079" subfields="!w0123456789" />\r
+          <field tag="260" name="9080" subfields="c" />\r
+          <field tag="260" name="9081" subfields="b" />\r
+          <field tag="264" name="9082" subfields="b" />\r
+          <field tag="264" name="9083" subfields="c" />\r
+          <field tag="856" name="9084" subfields="uy" />\r
+          <field tag="336" name="9085" subfields="a" />\r
+          <field tag="337" name="9086" subfields="a" />\r
+          <field tag="338" name="9087" subfields="a" />\r
+          <field tag="385" name="9088" subfields="am" />\r
+          <field tag="386" name="9089" subfields="am" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Serials">\r
+          <field tag="245" name="9176" subfields="!w0123456789" />\r
+          <field tag="130" name="9175" subfields="!w0123456789" />\r
+          <field tag="100" name="9174" subfields="!w0123456789" />\r
+          <field tag="260" name="9177" subfields="c" />\r
+          <field tag="260" name="9178" subfields="b" />\r
+          <field tag="264" name="9179" subfields="b" />\r
+          <field tag="264" name="9180" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Non-musical Sound Recordings">\r
+          <field tag="245" name="3120" subfields="*" />\r
+          <field tag="264" name="8799" subfields="b" />\r
+          <field tag="264" name="8800" subfields="c" />\r
+          <field tag="100" name="3121" subfields="*" />\r
+          <field tag="336" name="8801" subfields="a" />\r
+          <field tag="337" name="8802" subfields="a" />\r
+          <field tag="338" name="8803" subfields="a" />\r
+          <field tag="385" name="8804" subfields="am" />\r
+          <field tag="386" name="8805" subfields="am" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Visual Materials">\r
+          <field tag="245" name="9190" subfields="!w0123456789" />\r
+          <field tag="130" name="9189" subfields="!w0123456789" />\r
+          <field tag="100" name="9188" subfields="!w0123456789" />\r
+          <field tag="260" name="9191" subfields="c" />\r
+          <field tag="260" name="9192" subfields="b" />\r
+          <field tag="264" name="9193" subfields="b" />\r
+          <field tag="264" name="9194" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+        <recordType type="Authority Records">\r
+          <field tag="245" name="9239" subfields="!w0123456789" />\r
+          <field tag="130" name="9238" subfields="!w0123456789" />\r
+          <field tag="100" name="9237" subfields="!w0123456789" />\r
+          <field tag="260" name="9240" subfields="c" />\r
+          <field tag="260" name="9241" subfields="b" />\r
+          <field tag="264" name="9242" subfields="b" />\r
+          <field tag="264" name="9243" subfields="c" />\r
+          <field name="holding" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+          <field tag="020" name="isbn" subfields="a" />\r
+          <field tag="022" name="issn" subfields="a" />\r
+          <field tag="024" name="upc" subfields="a" />\r
+          <field tag="035" name="oclc" subfields="a" />\r
+          <field tag="260" name="pubyear" subfields="c" />\r
+          <field tag="856" name="eloc" subfields="*" />\r
+          <field tag="856" name="elocy" subfields="y" />\r
+          <field tag="856" name="eloc3" subfields="3" />\r
+          <field tag="856" name="elocx" subfields="x" />\r
+          <field tag="856" name="elocz" subfields="z" />\r
+          <field tag="856" name="elocu" subfields="u" />\r
+        </recordType>\r
+      </brief>\r
+      <indexField>\r
+        <recordType type="all">\r
+          <field tag="245" name="Title" subfields="ab" />\r
+          <field tag="100" name="Author" subfields="a" />\r
+          <field tag="110" name="Author" subfields="a" />\r
+          <field tag="111" name="Author" subfields="a" />\r
+          <field tag="113" name="Author" subfields="a" />\r
+          <field tag="130" name="Uniform Title" subfields="adfghklmnoprst" />\r
+          <field tag="130" name="Series Title" subfields="ahnpv" />\r
+          <field tag="260" name="Date" subfields="c" />\r
+          <field tag="264" name="Date" subfields="c" />\r
+          <field tag="264" name="Publisher" namedTemplate="first-40-chars" subfields="b" />\r
+          <field tag="260" name="Publisher" namedTemplate="first-40-chars" subfields="b" />\r
+          <field tag="600" name="Name Subject" subfields="abcdfghklmnopqrstvxyz" />\r
+          <field tag="630" name="Title Subject" subfields="adfghjklmnoprstvxyz" />\r
+          <field tag="520" name="Note" subfields="a" />\r
+          <field tag="600" name="Subject" subfields="abcdq" />\r
+          <field tag="610" name="Subject" subfields="ab" />\r
+          <field tag="611" name="Subject" subfields="a" />\r
+          <field tag="630" name="Subject" subfields="a" />\r
+          <field tag="650" name="Subject" subfields="ax" />\r
+          <field tag="651" name="Subject" subfields="a" />\r
+          <field tag="653" name="Subject" subfields="a" />\r
+          <field tag="654" name="Subject" subfields="a" />\r
+          <field tag="655" name="Subject" subfields="a" />\r
+          <field tag="656" name="Subject" subfields="a" />\r
+          <field tag="657" name="Subject" subfields="a" />\r
+          <field tag="658" name="Subject" subfields="a" />\r
+          <field tag="662" name="Subject" subfields="abcd" />\r
+          <field tag="400" name="Series" subfields="abcdfghklnptv" />\r
+          <field tag="400" name="Series" subfields="fghklnpstv" />\r
+          <field tag="410" name="Series" subfields="abcdfghklnptv" />\r
+          <field tag="411" name="Series" subfields="abcdefghklnpqstv" />\r
+          <field tag="440" name="Series" subfields="ahnpv" />\r
+          <field tag="490" name="Series" subfields="av" />\r
+          <field tag="800" name="Series" subfields="abcdfghklmnopqrstv" />\r
+          <field tag="800" name="Series" subfields="fghklnpstv" />\r
+          <field tag="810" name="Series" subfields="abcdfghklmnoprstv" />\r
+          <field tag="810" name="Series" subfields="fghklpstv" />\r
+          <field tag="811" name="Series" subfields="abcdefghklnpqstv" />\r
+          <field tag="811" name="Series" subfields="fhklpstv" />\r
+          <field tag="830" name="Series" subfields="adfghklmnoprstv" />\r
+          <field tag="830" name="Series" subfields="t" />\r
+          <field tag="840" name="Series" subfields="ahv" />\r
+          <field tag="008" name="Language" namedTemplate="marc-language" />\r
+          <field tag="008" name="AudienceLevel" namedTemplate="marc-audiencelevel" />\r
+        </recordType>\r
+      </indexField>\r
+    </recordMap>\r
+    <recordMap type="solr">\r
+      <brief>\r
+        <recordType type="all" />\r
+      </brief>\r
+      <indexField>\r
+        <recordType type="all" />\r
+      </indexField>\r
+    </recordMap>\r
+  </recordMaps>\r
+  <facet>\r
+    <field name="Title" />\r
+    <field name="Author" />\r
+    <field name="Medium" />\r
+    <field name="Subject" />\r
+    <field name="Date" />\r
+    <field name="Publisher" />\r
+    <field name="Location" />\r
+    <field name="MaterialType" />\r
+    <field name="Series" />\r
+    <field name="Language" />\r
+    <field name="AudienceLevel" />\r
+    <field name="ReadingLevel" />\r
+  </facet>\r
+  <clusterFields>\r
+    <field name="Title" method="longest" />\r
+    <field name="Author" method="longest" />\r
+    <field name="Date" method="range" />\r
+    <field name="Publisher" method="longest" />\r
+    <field name="Note" method="longest" />\r
+  </clusterFields>\r
+  <matchKey>\r
+    <field name="Title" required="yes" />\r
+    <field name="Author" required="yes" />\r
+  </matchKey>\r
+  <sort>\r
+    <field name="Title" sortkey="skiparticle" type="" />\r
+    <field name="Author" sortkey="skiparticle" type="" />\r
+    <field name="Date" sortkey="numeric" type="year" />\r
+  </sort>\r
+  <rank>\r
+    <field name="Title" value="10" />\r
+    <field name="Author" value="5" />\r
+  </rank>\r
+</session>
\ No newline at end of file
index 0dfb6fb..8d36830 100644 (file)
@@ -4,14 +4,21 @@
   <set name="pz:cclmap:term" target="aggw" value="1=ALL_HEADING"/>
   <set name="pz:termlist_term_count" target="aggw" value="50"/>
   <set name="pz:maxrecs" target="aggw" value="5"/>
-
+  
+  <set name="pz:facetmap:split:series" target="aggw" value="facet_17"/>
+  <set name="pz:limitmap:series" target="aggw" value="ccl:series"/>
+  <set name="pz:cclmap:series" target="aggw" value="u=q_SelectedFacets"/>
+  
+  <set name="pz:facetmap:split:publisher" target="aggw" value="facet_15"/>
+  <set name="pz:limitmap:publisher" target="aggw" value="ccl:publisher"/>
+  <set name="pz:cclmap:publisher" target="aggw" value="u=q_SelectedFacets"/>
+  
         <set name="pz:extendrecs" target="aggw" value="60"/>
         <set name="pz:cclmap:JOURNAL_TITLE" target="aggw" value="u=1033 s=al"/>
         <set name="pz:cclmap:PUBLISHER-NAME" target="aggw" value="u=PUBLISHER_NAME"/>
         <set name="pz:cclmap:PHRASE" target="aggw" value="s=1"/>
         <set name="pz:cclmap:FromPubYear" target="aggw" value="u=q_FromPubYear"/>
         <set name="pz:cclmap:PUBLISHER-NUMBER" target="aggw" value="u=PUBLISHER_NUMBER"/>
-        <set name="pz:facetmap:split:series" target="aggw" value="facet_17"/>
         <set name="pz:limitmap:medium" target="aggw" value="ccl:medium"/>
         <set name="pz:cclmap:READING-PROGRAM-NAME" target="aggw" value="u=READING_PROGRAM_NAME"/>
         <set name="pz:cclmap:NLC-NUMBER" target="aggw" value="u=NLC_NUMBER"/>
@@ -39,7 +46,6 @@
         <set name="pz:cclmap:GPO-SHIP-LIST-NUMBER" target="aggw" value="u=GPO_SHIP_LIST_NUMBER"/>
         <set name="pz:cclmap:GPO-ORDER-NUMBER" target="aggw" value="u=GPO_ORDER_NUMBER"/>
         <set name="pz:cclmap:CreationDate" target="aggw" value="u=q_CreationDate"/>
-        <set name="pz:facetmap:split:publisher" target="aggw" value="facet_15"/>
         <set name="pz:facetmap:split:subject" target="aggw" value="facet_05"/>
         <set name="pz:cclmap:LOCAL-CALL-NUMBER" target="aggw" value="u=LOCAL_CALL_NUMBER"/>
         <set name="use_thumbnails" target="aggw" value="1"/>
@@ -55,7 +61,6 @@
         <set name="pz:cclmap:MaterialType" target="aggw" value="u=q_MaterialType"/>
         <set name="pz:pqf_prefix" target="aggw" value="@and @attr 1=q_SortBy RELEVANCY"/>
         <set name="pz:cclmap:TargetAudiences" target="aggw" value="u=q_TargetAudiences"/>
-        <set name="pz:limitmap:series" target="aggw" value="ccl:series"/>
         <set name="pz:limitmap:title" target="aggw" value="ccl:title"/>
         <set name="pz:facetmap:split:location" target="aggw" value="facet_06"/>
         <set name="pz:cclmap:GPO-ITEM-NUMBER" target="aggw" value="u=GPO_ITEM_NUMBER"/>
         <set name="pz:present_chunk" target="aggw" value="60"/>
         <set name="pz:limitmap:audiencelevel" target="aggw" value="ccl:audiencelevel"/>
         <set name="pz:cclmap:location" target="aggw" value="u=q_SelectedFacets"/>
-        <set name="pz:limitmap:publisher" target="aggw" value="ccl:publisher"/>
         <set name="pz:cclmap:GPO-MONTHLY-CAT-NUMBER" target="aggw" value="u=GPO_MONTHLY_CAT_NUMBER"/>
         <set name="pz:cclmap:POINT-LEVEL" target="aggw" value="u=POINT_LEVEL"/>
         <set name="pz:cclmap:ToPubYear" target="aggw" value="u=q_ToPubYear"/>
         <set name="pz:limitmap:useSavedQueries" target="aggw" value="ccl: UseSavedQueries"/>
         <set name="pz:cclmap:GPO-SUBDOC-NUMBER" target="aggw" value="u=GPO_SUBDOC_NUMBER"/>
         <set name="pz:cclmap:POINT-LEVEL-RC" target="aggw" value="u=POINT_LEVEL_RC"/>
-        <set name="pz:cclmap:publisher" target="aggw" value="u=q_SelectedFacets"/>
         <set name="pz:cclmap:title" target="aggw" value="u=q_SelectedFacets"/>
         <set name="pz:limitmap:subject:person" target="aggw" value="local: "/>
         <set name="pz:limitmap:subject" target="aggw" value="ccl:subject"/>
-        <set name="pz:cclmap:series" target="aggw" value="u=q_SelectedFacets"/>
         <set name="pz:limitmap:mtype" target="aggw" value="ccl: MaterialType"/>
         <set name="pz:cclmap:READING-LEVEL-RC" target="aggw" value="u=READING_LEVEL_RC"/>
         <set name="pz:limitmap:scoping" target="aggw" value="ccl: ScopingLevel"/>