Fix setting recid (tests pass again)
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 28 Nov 2013 14:11:43 +0000 (15:11 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 28 Nov 2013 14:11:43 +0000 (15:11 +0100)
src/reclists.c

index 8e7522a..73a6a64 100644 (file)
@@ -428,7 +428,7 @@ out:
 
         cluster->relevance_score = 0;
         cluster->term_frequency_vec = 0;
-        cluster->recid = merge_keys->value;
+        cluster->recid = cluster->merge_keys->value;
         (*total)++;
         cluster->metadata =
             nmem_malloc(l->nmem,