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 <[email protected]> 
> 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 <[email protected]> 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