You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2005/01/10 17:00:13 UTC
[jira] Closed: (JCR-37) select query fails on 'like xxx322' statement
[ http://issues.apache.org/jira/browse/JCR-37?page=history ]
Marcel Reutegger closed JCR-37:
-------------------------------
> select query fails on 'like xxx322' statement
> ---------------------------------------------
>
> Key: JCR-37
> URL: http://issues.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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira