Handle right-trucation for ICU normalized terms.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 26 Mar 2008 14:03:45 +0000 (15:03 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 26 Mar 2008 14:03:45 +0000 (15:03 +0100)
commite1be1f5267e2be257664ded166b6890e4f24db83
tree924f22aff952634667419fc83c70fa317d01255b
parentb4e2b5d713294cc740933a8e770338cef303c8fe
Handle right-trucation for ICU normalized terms.

The string searches now handles right-trucation for ICU normalized terms.
That is @attr 5=1 is supported as well as no-truncation, @attr 5=100. All
other truncation attributes produces an error. We use some pretty heuristic
methods to determine where to put the .* in our resulting regular
expression.
dfa/dfa.c
dict/lookgrep.c
include/dfa.h
index/rpnsearch.c
test/api/t17.c