[ 
https://issues.apache.org/jira/browse/JSPWIKI-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arturo Bernal resolved JSPWIKI-501.
-----------------------------------
    Fix Version/s: 3.0.1
       Resolution: Fixed

Fixed by pull request 543, merged into master as 4b436f943: wildcard and prefix 
terms that contain an underscore are split on the separators and matched as 
adjacent tokens, so Page_*, snake_*, snake_ca* and similar searches find the 
pages without changing the index. The review of pull request 543 also asked for 
wildcards such as name:blog*26 and name:entry*26* to find pages and for the 
relevance not to go above 100; those are tracked in JSPWIKI-1321 (pull request 
575).

> 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
>             Fix For: 3.0.1
>
>
> 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