From: Adam Dickmeiss Date: Thu, 13 Dec 2007 18:10:35 +0000 (+0000) Subject: ICU charmap files. X-Git-Tag: ZEBRA.2.0.20~23 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=12dfc68329774a228050f5b3e85d7c493f7092a5;hp=2c130f28f8f06161e35a7945c9acb11d966937f9 ICU charmap files. --- diff --git a/tab/Makefile.am b/tab/Makefile.am index 8e0369c..f882707 100644 --- a/tab/Makefile.am +++ b/tab/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.9 2006-06-28 13:26:18 adam Exp $ +## $Id: Makefile.am,v 1.10 2007-12-13 18:10:35 adam Exp $ tabdatadir = $(datadir)/$(PACKAGE)$(PACKAGE_SUFFIX)/tab tabdata_DATA = bib1.att dan1.att danmarc.abs danmarc.mar \ @@ -9,7 +9,7 @@ tabdata_DATA = bib1.att dan1.att danmarc.abs danmarc.mar \ nwi.flt refer.flt scan.chr sgml.flt soif.flt string.chr summary.abs \ summary.tag tagsetg.tag tagsetm.tag urx.chr usmarc.abs usmarc-b.est \ usmarc.flt usmarc.mar usmarc.tag var1.var wais.abs wais-b.est \ - wais-variant.est marc21.abs + wais-variant.est marc21.abs words-icu.xml phrases-icu.xml icu.idx EXTRA_DIST = $(tabdata_DATA) diff --git a/tab/icu.idx b/tab/icu.idx new file mode 100644 index 0000000..fa53318 --- /dev/null +++ b/tab/icu.idx @@ -0,0 +1,30 @@ +# ICU indexing for words and phrases.. Otherwise similar +# to default.idx . +# $Id: icu.idx,v 1.1 2007-12-13 18:10:35 adam Exp $ + +# Traditional word index +# Used if completenss is 'incomplete field' (@attr 6=1) and +# structure is word/phrase/word-list/free-form-text/document-text +index w +completeness 0 +position 1 +alwaysmatches 1 +firstinfield 1 +icuchain words-icu.xml +# debug 1 + +# Phrase index +# Used if completeness is 'complete {sub}field' (@attr 6=2, @attr 6=1) +# and structure is word/phrase/word-list/free-form-text/document-text +index p +completeness 1 +icuchain phrases-icu.xml +# debug 1 + +# Sort register +sort s +completeness 1 +charmap string.chr + +# Staticrank (uncomment to enable) +#staticrank r diff --git a/tab/phrases-icu.xml b/tab/phrases-icu.xml new file mode 100644 index 0000000..0fe3664 --- /dev/null +++ b/tab/phrases-icu.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tab/words-icu.xml b/tab/words-icu.xml new file mode 100644 index 0000000..1b0e9e2 --- /dev/null +++ b/tab/words-icu.xml @@ -0,0 +1,7 @@ + + + + + + +