New settings for solr test
authorDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 12:45:58 +0000 (12:45 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 12:45:58 +0000 (12:45 +0000)
test/test_solr_settings_1.xml [new file with mode: 0644]
test/test_solr_settings_2.xml [new file with mode: 0644]
test/test_solr_settings_3.xml [new file with mode: 0644]
test/test_solr_settings_4.xml [new file with mode: 0644]

diff --git a/test/test_solr_settings_1.xml b/test/test_solr_settings_1.xml
new file mode 100644 (file)
index 0000000..29499c4
--- /dev/null
@@ -0,0 +1,40 @@
+<!-- Solr target -->
+<settings target="LOC Solr Test">
+  <set name="pz:name"  value="LOC Solr Test" />
+  <set name="pz:url"   value="ocs-test.indexdata.com/solr/select" />
+
+  <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="1" />
+  <set name="pz:block_timeout"  value="2" />
+  <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: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/test_solr_settings_2.xml b/test/test_solr_settings_2.xml
new file mode 100644 (file)
index 0000000..b170c67
--- /dev/null
@@ -0,0 +1,4 @@
+<!-- Solr target -->
+<settings target="LOC Solr Test">
+  <set name="pz:termlist_term_factor" value="1"/>
+</settings>
\ No newline at end of file
diff --git a/test/test_solr_settings_3.xml b/test/test_solr_settings_3.xml
new file mode 100644 (file)
index 0000000..579c2bf
--- /dev/null
@@ -0,0 +1,11 @@
+<!-- Solr target -->
+<settings target="LOC Solr Test">
+  <!-- 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" />
+  <!-- disable scale up factor -->
+  <set name="pz:termlist_term_factor" value="0"/>
+</settings>
\ No newline at end of file
diff --git a/test/test_solr_settings_4.xml b/test/test_solr_settings_4.xml
new file mode 100644 (file)
index 0000000..631044f
--- /dev/null
@@ -0,0 +1,5 @@
+<!-- Solr target -->
+<settings target="LOC Solr Test">
+  <set name="pz:maxrecs" value="200" /> 
+  <set name="pz:present_chunk" value="0"/>
+</settings>