You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2015/08/13 20:44:45 UTC

[jira] [Commented] (JSPWIKI-893) Cannot search for bold words with GermanAnalyzer

    [ https://issues.apache.org/jira/browse/JSPWIKI-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695745#comment-14695745 ] 

Siegfried Goeschl commented on JSPWIKI-893:
-------------------------------------------

>From Arend's email

{noformat}
The problem is 

jspwiki.lucene.analyzer = org.apache.lucene.analysis.de.GermanAnalyzer

When I turn that off and delete the Lucene index files, I can find bold words. When I turn it on again and delete the Lucene index files, I cannot find bold words anymore.

Siegfried, thanks for pointing me in the direction of search related properties :-)
{noformat}

> Cannot search for bold words with GermanAnalyzer
> ------------------------------------------------
>
>                 Key: JSPWIKI-893
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-893
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.10
>            Reporter: Arend v. Reinersdorff
>
> Reproduce:
> * in jspwiki-custom.properties set
>    {{jspwiki.lucene.analyzer = org.apache.lucene.analysis.de.GermanAnalyzer}}
> * in a wiki page include {{\_\_mysearchterm\_\_}}
> Result:
> * Searching for {{mysearchterm}} doesn't find the text
> * Searching for {{\_\_mysearchterm\_\_}} finds the text
> Expected:
> Searching for {{mysearchterm}} should find the text, as it does with {{org.apache.lucene.analysis.standard.StandardAnalyzer}}
> See also the thread on the mailinglist:
> http://mail-archives.apache.org/mod_mbox/jspwiki-user/201506.mbox/%3CCAJCBYx0M_Xqm1jt8Pr466rRb8sLLLf28eygn9FrA4%3Dhrb6aHeg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)