projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d483a41
)
Dont specify Solr query type YAZ-736
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 3 Jun 2015 09:10:47 +0000
(11:10 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 3 Jun 2015 09:10:47 +0000
(11:10 +0200)
src/solr.c
patch
|
blob
|
history
diff --git
a/src/solr.c
b/src/solr.c
index
a8e8cd8
..
e3b8e26
100644
(file)
--- 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)
{