Remove the select part. Yaz will decide to do a search or scan and map it to search...
authorDennis Schafroth <dennis@indexdata.com>
Fri, 12 Apr 2013 10:33:27 +0000 (12:33 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 12 Apr 2013 10:33:27 +0000 (12:33 +0200)
etc/settings/opencontent-solr.xml

index 1263eee..027bad1 100644 (file)
@@ -1,10 +1,14 @@
-<settings target="ocs-test.indexdata.com/solr/select">
+<settings target="ocs-test.indexdata.com/solr">
   <set name="pz:name" value="opencontent-solr"/>
   
   <set name="pz:apdulog" value="1"/>
   <!-- mapping for unqualified search -->
-  <set name="pz:cclmap:term" value="1=title"/>
-  
+<!-- It should not be nessesary to have a term mapping 
+     if the solr setup has a default field for searching.
+     On Index Data we use the text field to contain all
+     and has this as default field
+  <set name="pz:cclmap:term" value="1=text"/>
+--> 
   <!-- field-specific mappings -->
   <set name="pz:cclmap:au"   value="1=author" />
   <set name="pz:cclmap:ti"   value="1=title"  />