From 5a5741345dd553e57ef8e0396dfaca12b7adc2cc Mon Sep 17 00:00:00 2001 From: Hanno Schlichting Date: Sat, 9 Jul 2011 18:18:47 +0000 Subject: [PATCH] Add `solr.WordDelimiterFilterFactory` to the standard text field, to split on intra-word delimiters such as `-_:`. git-svn-id: https://svn.plone.org/svn/collective/buildout/collective.recipe.solrinstance/trunk@242144 db7f04ef-aaf3-0310-a811-c281ed44c4ad --- CHANGES.txt | 3 +++ collective/recipe/solrinstance/__init__.py | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 3ef27d2..038da04 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Change History 3.4 (unreleased) ================ +- Add `solr.WordDelimiterFilterFactory` to the standard text field, to split on + intra-word delimiters such as `-_:`. + [hannosch] 3.3 (2011-06-25) ================ diff --git a/collective/recipe/solrinstance/__init__.py b/collective/recipe/solrinstance/__init__.py index 03d68a8..030f6d1 100644 --- a/collective/recipe/solrinstance/__init__.py +++ b/collective/recipe/solrinstance/__init__.py @@ -23,6 +23,7 @@ 'keepinzope' : 'true'} DEFAULT_FILTERS = """ text solr.ICUFoldingFilterFactory + text solr.WordDelimiterFilterFactory splitOnCaseChange="0" splitOnNumerics="0" stemEnglishPossessive="0" preserveOriginal="1" text solr.TrimFilterFactory text solr.StopFilterFactory ignoreCase="true" words="stopwords.txt" """