lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-839) WildcardQuery do not find documents if leading and trailing * is used
Date Tue, 20 Mar 2007 18:44:32 GMT

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

Doron Cohen commented on LUCENE-839:
------------------------------------

I checked - all these queries do work correctly in Lucene trunk.
There were several related query parsing fixes recently, that might have fixed this. 
Which Lucene version dd you try?
Also see Chriss  comment on LUCENE-838 and use some cautious with opening issues.


> 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
>
> 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


Mime
View raw message