jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timur Evdokimov (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-37) select query fails on 'like xxx322' statement
Date Thu, 23 Dec 2004 21:51:03 GMT
select query fails on 'like xxx322' statement

         Key: JCR-37
         URL: http://nagoya.apache.org/jira/browse/JCR-37
     Project: Jackrabbit
        Type: Bug
  Components: API  
    Reporter: Timur Evdokimov
    Priority: Minor

In class org.apache.jackrabbit.core.search.lucene.WildcardTermEnum, there's a condition around
line 77 like

if (Character.isLetter(likePattern.charAt(i))) {

which fails on query like
SELECT * FROM my:type LOCATION /news// WHERE my:text LIKE "asd2"

it should be changed to 

if (Character.isLetter(likePattern.charAt(i)) || Character.isDigit(likePattern.charAt(i)))

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message