From: Adam Dickmeiss Date: Thu, 31 Jan 2013 15:59:24 +0000 (+0100) Subject: Complete record match does not serve as error X-Git-Tag: v1.6.25~6 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ebb39003d49565c77aef91afa194fd3ae515213d;p=pazpar2-moved-to-github.git Complete record match does not serve as error --- diff --git a/src/session.c b/src/session.c index 0817d8e..d4e4a3c 100644 --- a/src/session.c +++ b/src/session.c @@ -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 =