X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsolr.c;h=734e3653ab6eca06b2b83618c76753a310ab637e;hp=4ce820c662aa87f43ea51db49fb26d334c21dc1a;hb=55f306a7eb44ebfa39c096d2c76ad0cf12a089ea;hpb=03253a9ef705cd30deb32f68f3d310cef407b1a7 diff --git a/src/solr.c b/src/solr.c index 4ce820c..734e365 100644 --- a/src/solr.c +++ b/src/solr.c @@ -356,6 +356,7 @@ int yaz_solr_encode_request(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, Z_FacetList *facet_list = request->facetList; int limit = 0; yaz_add_name_value_str(encode, name, value, &i, "facet", "true"); + yaz_add_name_value_str(encode, name, value, &i, "facet.mincount", "1"); yaz_solr_encode_facet_list(encode, name, value, &i, facet_list, &limit); /* olimit = limit;