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

Ulf Dittmer commented on JSPWIKI-893:
-------------------------------------

 
{noformat}
As of removing the __ sequence, I think it wouldn't suffice, as you'd also need 
to remove all the wiki markup, while at the same time, not removing those 
characters when they are not part of the wiki markup (f.ex., an opening __ with 
no closing sequence shouldn't be deleted ( ? ) ).
{noformat}
I disagree, because those are two separate issues. Content not being indexed is 
a bug, and should be fixed. The fix works even without treating all markup 
especially. Other markup being indexed is a different bug, but it leads to 
stuff being indexed that shouldn't be indexed - a less severe issue than 
content not being indexed that should be indexed, IMO.

 

> 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
>            Priority: Major
>
> 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
(v7.6.14#76016)

Reply via email to