New settings files: General ztest@localhost:9999. Solr Test target (file need renaming)
authorDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 13:37:03 +0000 (13:37 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 13:37:03 +0000 (13:37 +0000)
test/test_termlist_block_settings_2.xml [new file with mode: 0644]
test/ztest_localhost_settings.xml [new file with mode: 0644]

diff --git a/test/test_termlist_block_settings_2.xml b/test/test_termlist_block_settings_2.xml
new file mode 100644 (file)
index 0000000..93b7718
--- /dev/null
@@ -0,0 +1,39 @@
+<!-- Solr target -->
+<settings target="id_solr">
+  <set name="pz:name"  value="LOC (SOLR)" />
+  <set name="pz:url"   value="ocs-test.indexdata.com/solr/select" />
+
+  <set name="pz:cclmap:term"  value="1=text s=Dal" />
+  <set name="pz:cclmap:au"    value="1=author"   />
+  <set name="pz:cclmap:su"    value="1=subject"  />
+  <set name="pz:cclmap:date"  value="1=date" />
+  <set name="pz:cclmap:issn"  value="1=issn" />
+  <set name="pz:cclmap:ti"  value="1=title" />
+  <set name="pz:cclmap:isbn"  value="1=isbn" />
+  <set name="pz:cclmap:author_phrase" value="1=author_exact 6=3"/>
+<!--
+  <set name="pz:limitmap:author"  value="rpn:@attr 1=author_exact 6=3" />
+  <set name="pz:limitmap:subject" value="rpn:@attr 1=subject_exact" />
+  <set name="pz:limitmap:date"    value="rpn:@attr 1=date @attr 6=3" />
+  <set name="pz:limitmap:medium"  value="rpn:@attr 1=medium_exact @attr 6=3" />
+-->
+  <set name="full_text_target"  value="=NO" />
+  <!-- Configure native facets -->
+
+  <set name="pz:termlist_term_count" value="10"/>
+<!--
+  <set name="pz:facetmap:author"  value="author_exact"  />
+  <set name="pz:facetmap:subject" value="subject_exact" />
+  <set name="pz:facetmap:medium"  value="medium_exact"  />
+  <set name="pz:facetmap:date"  value="date" />
+-->
+  <set name="use_url_proxy"  value="0"        />
+  <set name="pz:piggyback"   value="1"        />
+  <set name="pz:preferred"   value="0"        />
+  <set name="pz:block_timeout"  value="2"     />
+  <set name="pz:sru"         value="solr"     />
+  <set name="pz:xslt"  value="solr-pz2.xsl"   />
+  <set name="use_thumbnails" value="0"        />
+  <set name="pz:queryencoding"  value="UTF-8" />
+
+</settings>
\ No newline at end of file
diff --git a/test/ztest_localhost_settings.xml b/test/ztest_localhost_settings.xml
new file mode 100644 (file)
index 0000000..841a098
--- /dev/null
@@ -0,0 +1,8 @@
+<!-- Solr target -->
+<settings target="localhost:9999/db1">
+  <set name="pz:name"  value="db1" />
+  <set name="pz:url"   value="localhost:9999/db1" />
+  <set name="pz:nativesyntax" value="txml" />
+  <set name="pz:requestsyntax" value="usmarc" />
+  <set name="pz:xslt" value="tmarc.xsl" />
+</settings>