projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d536c8
)
Increment seqno for complete fields (non-ICU)
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 5 Jun 2011 20:22:22 +0000
(22:22 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 5 Jun 2011 20:22:31 +0000
(22:22 +0200)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
4f75f77
..
d593ef8
100644
(file)
--- 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)