+ {
+ const char *index_types_fname = res_get(res, "indextypes");
+ if (index_types_fname)
+ {
+ char tmp_full_name[1024];
+
+ if (!yaz_filepath_resolve(index_types_fname,
+ profilePath,
+ reg_path,
+ tmp_full_name))
+ {
+ yaz_log(YLOG_WARN, "Could not find %s", index_types_fname);
+ ret = ZEBRA_FAIL;
+ }
+ else
+ {
+ reg->index_types = zebra_index_types_create(
+ tmp_full_name);
+ yaz_log(YLOG_LOG, "zebra_index_types_create returned %p",
+ reg->index_types);
+ }
+ }
+
+ }