int index;
int freq = 100;
int length = strlen(facet_name) + 10;
- char key[length];
+ char *key = odr_malloc(odr, length);
key[0] = '\0';
for (index = 0; index < facet_field->num_terms; index++) {
Z_Term *term;
for (index = 0; index < facet_list->num; index++) {
struct yaz_facet_attr attrvalues;
yaz_facet_attr_init(&attrvalues);
- attrvalues.limit = 10;
+ attrvalues.limit = 0;
yaz_facet_attr_get_z_attributes(facet_list->elements[index]->attributes,
&attrvalues);
yaz_log(YLOG_LOG, "Attributes: %s %d ", attrvalues.useattr, attrvalues.limit);