projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Channel counting. New iochan_destroy_real.
[pazpar2-moved-to-github.git]
/
src
/
session.c
diff --git
a/src/session.c
b/src/session.c
index
c46a891
..
194ab36
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-211,8
+211,9
@@
void add_facet(struct session *s, const char *type, const char *value, int count
s->num_termlists = i + 1;
}
s->num_termlists = i + 1;
}
- session_log(s, YLOG_DEBUG, "Facets for %s: %s norm:%s (%d)",
- type, value, wrbuf_cstr(facet_wrbuf), count);
+#if 0
+ session_log(s, YLOG_DEBUG, "Facets for %s: %s norm:%s (%d)", type, value, wrbuf_cstr(facet_wrbuf), count);
+#endif
termlist_insert(s->termlists[i].termlist, wrbuf_cstr(facet_wrbuf),
count);
}
termlist_insert(s->termlists[i].termlist, wrbuf_cstr(facet_wrbuf),
count);
}
@@
-1304,8
+1305,7
@@
static int ingest_to_cluster(struct client *cl,
&se->total_merged);
const char *use_term_factor_str = session_setting_oneval(sdb, PZ_TERMLIST_TERM_FACTOR);
&se->total_merged);
const char *use_term_factor_str = session_setting_oneval(sdb, PZ_TERMLIST_TERM_FACTOR);
- // TODO: Work-around to default to use term factor, until other MK2 components supports it
- int use_term_factor = 1;
+ int use_term_factor = 0;
int term_factor = 1;
if (use_term_factor_str && use_term_factor_str[0] != 0)
use_term_factor = atoi(use_term_factor_str);
int term_factor = 1;
if (use_term_factor_str && use_term_factor_str[0] != 0)
use_term_factor = atoi(use_term_factor_str);