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

ASF subversion and git services commented on JSPWIKI-501:
---------------------------------------------------------

Commit 7f4c7cb28fb345eb6cad58aba8560b812a8db9e4 in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=7f4c7cb28 ]

JSPWIKI-501 Keep the matches of the default wildcard query

The analyzer does not always split a page name on the underscore, so the index 
can hold a
token like blogentry_021126_1. A query like name:blog*26_1 found it before the 
change and found
nothing after it, because only the separated query was built. Match what either 
the default or
the separated query matches.


> Search Cannot Find Terms With Underscores
> -----------------------------------------
>
>                 Key: JSPWIKI-501
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-501
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.2
>         Environment: Red Hat Linux
>            Reporter: Stefan Bohn
>            Priority: Minor
>              Labels: pull-request-available
>
> http://www.jspwiki.org/wiki/BugSearchCannotFindTermsWithUnderscores
> I want to re-open this bug.
> We have many pages with a underscore in the pagename. These pages could not 
> be found with Lucene, when the underscore is entered in the searchbox.
> Example:
> Pagename: Page_WithUnderscore
> Searchstring: Page* - search is ok
> Searchstring Page_* page is not listed in the search result
> Is this a bug, or must I change the search string, because of Lucene?



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to