tollwerk / TYPO3-ext-tw_lucenesearch

Simple and lightweight implementation of the Apache Lucene Index as frontend search solution for TYPO3. Created by Joschi Kuphal (@jkphl), licensed under the terms of the GPL v2 license.
http://typo3.org/extensions/repository/view/tw_lucenesearch/
GNU General Public License v2.0
4 stars 3 forks source link

[BUGFIX] Umlauts in search (utf8) #19

Closed cdfre closed 7 years ago

cdfre commented 7 years ago

Fixes a problem with umlauts in Searches.

For example if i searched "Lösungen" i would get results with only "n", because the searchterm would be rewritten to Lösunge(title:Lösungen*^2 OR keywords:Lösungen*^1.6 OR abstract:Lösungen~0.5^1.2 OR bodytext:Lösungen~0.5)n

jkphl commented 7 years ago

Thanks @cdfre! I refined your code a bit and made the allowed / disallowed page types configurable via constants ...