From: Dennis Schafroth Date: Wed, 16 May 2012 12:12:47 +0000 (+0200) Subject: Update facet rule to implemented hardcoded punctuation trim X-Git-Tag: v1.6.13~1^2~7^2~5 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8dbbb9e74a00491ee8325d7b6a090c7e09940772;p=pazpar2-moved-to-github.git Update facet rule to implemented hardcoded punctuation trim --- diff --git a/test/test_facets.cfg b/test/test_facets.cfg index 9fce24c..d1ae26e 100644 --- a/test/test_facets.cfg +++ b/test/test_facets.cfg @@ -5,6 +5,14 @@ + + [[:WhiteSpace:][,.-]]* } [$] > ; + + + + [[:WhiteSpace:][,.!;]]* } [$] > ; + + @@ -13,7 +21,7 @@ - + diff --git a/test/test_icu.cfg b/test/test_icu.cfg index fcab6fa..0d5be21 100644 --- a/test/test_icu.cfg +++ b/test/test_icu.cfg @@ -43,7 +43,7 @@ --> - [,]* } [$] > ; + [.,]* } [$] > ; diff --git a/test/test_limit_limitmap.cfg b/test/test_limit_limitmap.cfg index 9b12a05..a8c2974 100644 --- a/test/test_limit_limitmap.cfg +++ b/test/test_limit_limitmap.cfg @@ -4,6 +4,10 @@ + + + [[:WhiteSpace:][,.!;]]* } [$] > ; +