X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.c;h=16f7794ec2e8cac7c21ab8b5dbe6ec4212d00141;hb=758bd14da56233550801d486d0e7c6e8790cfe11;hp=0817d8e38287211078d9b20f692f63d8df2a8793;hpb=3d72c16632e288e4a6635152083b7cb930707428;p=pazpar2-moved-to-github.git diff --git a/src/session.c b/src/session.c index 0817d8e..16f7794 100644 --- a/src/session.c +++ b/src/session.c @@ -653,7 +653,7 @@ static void session_sort_unlocked(struct session *se, struct reclist_sortparms * int type = sp->type; int clients_research = 0; - yaz_log(YLOG_LOG, "session_sort field=%s increasing=%d type=%d", field, increasing, type); + yaz_log(YLOG_DEBUG, "session_sort field=%s increasing=%d type=%d", field, increasing, type); /* see if we already have sorted for this criteria */ for (sr = se->sorted_results; sr; sr = sr->next) { @@ -1843,7 +1843,7 @@ static int ingest_to_cluster(struct client *cl, cluster = reclist_insert(se->reclist, service, record, mergekey_norm, &se->total_merged); if (!cluster) - return -1; + return 0; // complete match with existing record { const char *use_term_factor_str =