SOLR: Map SRU recordSchema to "fl"
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 13 Aug 2010 12:33:50 +0000 (14:33 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 13 Aug 2010 12:33:50 +0000 (14:33 +0200)
src/solr.c

index c602d2e..eaf822c 100644 (file)
@@ -170,6 +170,8 @@ int yaz_solr_encode_request(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu,
         }
         yaz_add_name_value_int(encode, name, value, &i,
                                "rows", srw_pdu->u.request->maximumRecords);
+        yaz_add_name_value_str(encode, name, value, &i,
+                               "fl", srw_pdu->u.request->recordSchema);
         break;
     default:
         return -1;