You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/03/20 20:30:32 UTC

[jira] Resolved: (LUCENE-839) WildcardQuery do not find documents if leading and trailing * is used

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

Doron Cohen resolved LUCENE-839.
--------------------------------

    Resolution: Cannot Reproduce

Working correctly in trunk.

Checked by modifying TestWildcard.testParsingAndSearching() - added the word "business" to doc 0, and added the queries { "*usines*", "*usi*nes*", "*usiness", "*usines?", "?usines?" } to matchOneDocWild[0], and verified that doc 0 is found for these added queries, as expected.


> WildcardQuery do not find documents if leading and trailing * is used
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-839
>                 URL: https://issues.apache.org/jira/browse/LUCENE-839
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 1.9, 2.0.0, 2.1
>            Reporter: Michael Schlegel
>         Assigned To: Doron Cohen
>
> I indexed a document which contains the word "business".
> If i use query "business" then document will be found.
> If i use query "busines*" then document will be found.
> If i use query "*usiness" then document will be found.
> If i use query "*usines?" then document will be found.
> If i use query "?usines?" then document will be found.
> But if i use query "*usines*" then document will not be found.
> if i use query "*usi*nes*" then document will be found.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org