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

Siegfried Goeschl commented on JSPWIKI-489:
-------------------------------------------

You cannot use a * or ? symbol as the first character of a search (see 
http://lucene.apache.org/java/2_3_2/queryparsersyntax.html) because you have a 
wildcard query where the wildcard is at the beginning of the search string - 
this causes performance problems. Usually you get a Lucene exception when doing 
that - but an implementation can choose to overwrite this method to silently 
ignore that exception

> Searching with wildcards 
> -------------------------
>
>                 Key: JSPWIKI-489
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-489
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>            Reporter: Bruno Peeters
>
> We have noticed that searching for two letter words is not possible, e.g. 
> looking for "AS IS". Sometimes it could be nice if this would be possible, 
> but this is not the point of this issue.
> A search for "%%sub" (or for "%%sup") results in all pages where these 
> formatting instructions are used.
> A search for "su*" results in lots of pages where words starting with "su" 
> appear.
> A search for "%%su*" is however unsuccessful, no pages are found, although 
> there are indeed pages with %%sup en %%sub.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to