Skip to content

Commit

Permalink
Add solr.WordDelimiterFilterFactory to the standard text field, to …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Hanno Schlichting committed Jul 9, 2011
1 parent d17dfcb commit 5a57413
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
================
Expand Down
1 change: 1 addition & 0 deletions collective/recipe/solrinstance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
"""
Expand Down

0 comments on commit 5a57413

Please sign in to comment.