From f1ab869126004c5cb02bdfac02c3a71d3eed826c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 5 Jun 2011 22:22:22 +0200 Subject: [PATCH] Increment seqno for complete fields (non-ICU) --- index/extract.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index/extract.c b/index/extract.c index 4f75f77..d593ef8 100644 --- a/index/extract.c +++ b/index/extract.c @@ -212,6 +212,7 @@ static void snippet_add_complete_field(RecWord *p, int ord, if (last && start != last && zebra_maps_is_index(zm)) zebra_snippets_appendn(h->snippets, p->seqno, 0, ord, start, last - start); + p->seqno++; } static void snippet_add_incomplete_field(RecWord *p, int ord, zebra_map_t zm) @@ -1858,6 +1859,7 @@ static void extract_add_complete_field(RecWord *p, zebra_map_t zm) if (!i) return; extract_add_string(p, zm, buf, i); + p->seqno++; } static void extract_add_icu(RecWord *p, zebra_map_t zm) -- 1.7.10.4