X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fpazpar2_config.c;h=433239750af5b7007b25e7868ef223795044d3c7;hb=77682ed3596450ab7b3caff707999d2f7977d614;hp=1aef7b40112c406642cca43f138127ca8f507f50;hpb=82d7d0c694b86d3e4ca429d47624ea0f8bc19b91;p=pazpar2-moved-to-github.git diff --git a/src/pazpar2_config.c b/src/pazpar2_config.c index 1aef7b4..4332397 100644 --- a/src/pazpar2_config.c +++ b/src/pazpar2_config.c @@ -639,14 +639,9 @@ static struct conf_service *service_create_static(struct conf_server *server, || !strcmp((const char *) n->name, "facet")) { - if (!service->charsets) - service->charsets = pp2_charset_fact_create(); - if (pp2_charset_fact_define(service->charsets, - n->children, (const char *) n->name)) - { - yaz_log(YLOG_FATAL, "ICU chain definition error"); - return 0; - } + yaz_log(YLOG_FATAL, "No longer supported: <%s>", n->name); + yaz_log(YLOG_LOG, "Use .. instead", n->name); + return 0; } else if (!strcmp((const char *) n->name, (const char *) "metadata")) { @@ -680,7 +675,7 @@ static struct conf_service *service_create_static(struct conf_server *server, service->rank_cluster = 1; else if (!strcmp(rank_cluster, "no")) service->rank_cluster = 0; - else + else { yaz_log(YLOG_FATAL, "service: rank@cluster boolean"); return 0; @@ -942,14 +937,9 @@ static struct conf_server *server_create(struct conf_config *config, || !strcmp((const char *) n->name, "mergekey") || !strcmp((const char *) n->name, "facet")) { - if (!server->charsets) - server->charsets = pp2_charset_fact_create(); - if (pp2_charset_fact_define(server->charsets, - n->children, (const char *) n->name)) - { - yaz_log(YLOG_FATAL, "ICU chain definition error"); - return 0; - } + yaz_log(YLOG_FATAL, "No longer supported: <%s>", n->name); + yaz_log(YLOG_LOG, "Use .. instead", n->name); + return 0; } else if (!strcmp((const char *) n->name, "service")) {