From 25235a16bedf28aeb6e1129bcaef77d42090124e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 3 Jun 2015 11:10:47 +0200 Subject: [PATCH] Dont specify Solr query type YAZ-736 --- src/solr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4