Hi Arend,

opening a JIRA would be highly appreciated - the behaviour your experiencing 
seems weird :-)

Thanks in advance

Siegfried Goeschl


> On 29 Jun 2015, at 10:17, Arend v. Reinersdorff <ar...@arendvr.com> wrote:
> 
> Correction, turns out I didn't test properly. Sorry.
> 
> 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 :-)
> 
> Shall I open a bug for this?
> 
> Regards,
> Arend
> 
> 
> On Mon, Jun 29, 2015 at 9:59 AM, Arend v. Reinersdorff <ar...@arendvr.com>
> wrote:
> 
>> Hi Siegfried,
>> 
>> thanks a lot for your feedback :-) I tried to reproduce this with clean
>> installs of JSPWiki 2.10.1 and 2.10.0 on my machine, but couldn't. So this
>> looks like a configuration problem on our company wiki. I'll leave it at
>> that for now, except if anyone has an idea which configuration property
>> might cause this.
>> 
>> 
>> Our company is using the following:
>> JSPWiki v2.10.0
>> 
>> And the following search related settings in jspwiki.properties:
>> jspwiki.searchProvider =LuceneSearchProvider
>> jspwiki.lucene.analyzer = org.apache.lucene.analysis.de.GermanAnalyzer
>> 
>> I tried to set the the analyzer to
>> org.apache.lucene.analysis.standard.StandardAnalyzer, but that didn't help.
>> 
>> 
>> Regards,
>> Arend
>> 
>> 
>> On Fri, Jun 26, 2015 at 2:34 PM, Siegfried Goeschl <
>> siegfried.goes...@it20one.com> wrote:
>> 
>>> Hi Arend,
>>> 
>>> made a quick check (SVN trunk) but I can not reproduce the issue
>>> 
>>> * Added a “__district__” to a page
>>> * I can find the term “district” using the LuceneSearchProvider and the
>>> “BasicSearchProvider”
>>> 
>>> What version of of JSPWiki and SearchProvider are you using?
>>> 
>>> Thanks in advance
>>> 
>>> Siegfried Goeschl
>>> 
>>>> On 26 Jun 2015, at 12:52, Siegfried Goeschl <
>>> siegfried.goes...@it20one.com> wrote:
>>>> 
>>>> Hi Arend,
>>>> 
>>>> from looking at your examples I think the markup is accidentally in the
>>> underlying Lucene index - in other words
>>>> 
>>>> * the “__” is part of the indexed token
>>>> * prefix wildcard search is usually ignored due to performance reasons
>>> (it is like a full-table scan for a DB) - that’ a feature
>>>> 
>>>> Could you open a JIRA - it looks like a bug :)
>>>> 
>>>> Thanks in advance
>>>> 
>>>> Siegfried Goeschl
>>>> 
>>>>> On 26 Jun 2015, at 12:33, Arend v. Reinersdorff <ar...@arendvr.com>
>>> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> by chance I noticed that I cannot search in JSPWiki for bold words.
>>>>> 
>>>>> If there's text on a Wiki page like:
>>>>> __mysearchterm__
>>>>> 
>>>>> Then the following searches give no result:
>>>>> mysearchterm
>>>>> *mysearchterm__
>>>>> __mysearchterm
>>>>> mysearchterm~
>>>>> 
>>>>> These searches work:
>>>>> __mysearchterm__
>>>>> __mysearchterm*
>>>>> __mysearchterm__
>>>>> __mysearchterm~
>>>>> 
>>>>> I'm using JSPWiki 2.10.0.
>>>>> 
>>>>> I can find words in the middle of bold text and italic text:
>>>>> __where is mysearchterm gone__
>>>>> ''mysearchterm''
>>>>> 
>>>>> 
>>>>> Is this a general problem or maybe a problem with my installation?
>>>>> Any other ideas?
>>>>> 
>>>>> Regards,
>>>>> Arend
>>>> 
>>> 
>>> 
>> 

Reply via email to