From: Adam Dickmeiss Date: Wed, 3 Jun 2015 09:10:47 +0000 (+0200) Subject: Dont specify Solr query type YAZ-736 X-Git-Tag: v5.14.2~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=25235a16bedf28aeb6e1129bcaef77d42090124e;p=yaz-moved-to-github.git Dont specify Solr query type YAZ-736 --- diff --git a/src/solr.c b/src/solr.c index a8e8cd8..e3b8e26 100644 --- a/src/solr.c +++ b/src/solr.c @@ -504,7 +504,7 @@ int yaz_solr_encode_request(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, solr_op = "select"; if (!srw_pdu->u.request->query) return -1; - yaz_add_name_value_str(encode, name, value, &i, "defType", "lucene"); + /* lucene is the default queryType */ yaz_add_name_value_str(encode, name, value, &i, "q", request->query); if (srw_pdu->u.request->startRecord) {