[jira] Created: (LUCENE-716) Support unicode escapes in QueryParser

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (LUCENE-716) Support unicode escapes in QueryParser

JIRA jira@apache.org
Support unicode escapes in QueryParser
--------------------------------------

                 Key: LUCENE-716
                 URL: http://issues.apache.org/jira/browse/LUCENE-716
             Project: Lucene - Java
          Issue Type: Improvement
          Components: QueryParser
            Reporter: Michael Busch
         Assigned To: Michael Busch
            Priority: Minor


As suggested by Yonik in http://issues.apache.org/jira/browse/LUCENE-573 the QueryParser should be able to handle unicode escapes, i. e. \uXXXX.

I have already working and tested code. It is based on the patch i submitted for LUCENE-573, so once this is (hopefully ;-)) committed, I will submit another patch here.

--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-716) Support unicode escapes in QueryParser

JIRA jira@apache.org
     [ http://issues.apache.org/jira/browse/LUCENE-716?page=all ]

Michael Busch updated LUCENE-716:
---------------------------------

    Attachment: queryparser_unicode.patch

I attach the patch file that adds the ability to handle unicode escapes to the QueryParser, as well as new tests to TestQueryParser.

The tests pass.

> Support unicode escapes in QueryParser
> --------------------------------------
>
>                 Key: LUCENE-716
>                 URL: http://issues.apache.org/jira/browse/LUCENE-716
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: QueryParser
>            Reporter: Michael Busch
>         Assigned To: Michael Busch
>            Priority: Minor
>         Attachments: queryparser_unicode.patch
>
>
> As suggested by Yonik in http://issues.apache.org/jira/browse/LUCENE-573 the QueryParser should be able to handle unicode escapes, i. e. \uXXXX.
> I have already working and tested code. It is based on the patch i submitted for LUCENE-573, so once this is (hopefully ;-)) committed, I will submit another patch here.

--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-716) Support unicode escapes in QueryParser

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
     [ http://issues.apache.org/jira/browse/LUCENE-716?page=all ]

Michael Busch updated LUCENE-716:
---------------------------------

    Lucene Fields: [New, Patch Available]  (was: [New])

> Support unicode escapes in QueryParser
> --------------------------------------
>
>                 Key: LUCENE-716
>                 URL: http://issues.apache.org/jira/browse/LUCENE-716
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: QueryParser
>            Reporter: Michael Busch
>         Assigned To: Michael Busch
>            Priority: Minor
>         Attachments: queryparser_unicode.patch
>
>
> As suggested by Yonik in http://issues.apache.org/jira/browse/LUCENE-573 the QueryParser should be able to handle unicode escapes, i. e. \uXXXX.
> I have already working and tested code. It is based on the patch i submitted for LUCENE-573, so once this is (hopefully ;-)) committed, I will submit another patch here.

--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-716) Support unicode escapes in QueryParser

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
    [ http://issues.apache.org/jira/browse/LUCENE-716?page=comments#action_12451094 ]
           
Yonik Seeley commented on LUCENE-716:
-------------------------------------

Committed.  Thanks again Michael!

> Support unicode escapes in QueryParser
> --------------------------------------
>
>                 Key: LUCENE-716
>                 URL: http://issues.apache.org/jira/browse/LUCENE-716
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: QueryParser
>            Reporter: Michael Busch
>         Assigned To: Michael Busch
>            Priority: Minor
>         Attachments: queryparser_unicode.patch
>
>
> As suggested by Yonik in http://issues.apache.org/jira/browse/LUCENE-573 the QueryParser should be able to handle unicode escapes, i. e. \uXXXX.
> I have already working and tested code. It is based on the patch i submitted for LUCENE-573, so once this is (hopefully ;-)) committed, I will submit another patch here.

--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (LUCENE-716) Support unicode escapes in QueryParser

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org
     [ http://issues.apache.org/jira/browse/LUCENE-716?page=all ]

Yonik Seeley resolved LUCENE-716.
---------------------------------

    Resolution: Fixed

> Support unicode escapes in QueryParser
> --------------------------------------
>
>                 Key: LUCENE-716
>                 URL: http://issues.apache.org/jira/browse/LUCENE-716
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: QueryParser
>            Reporter: Michael Busch
>         Assigned To: Michael Busch
>            Priority: Minor
>         Attachments: queryparser_unicode.patch
>
>
> As suggested by Yonik in http://issues.apache.org/jira/browse/LUCENE-573 the QueryParser should be able to handle unicode escapes, i. e. \uXXXX.
> I have already working and tested code. It is based on the patch i submitted for LUCENE-573, so once this is (hopefully ;-)) committed, I will submit another patch here.

--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]