You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Hyong Ko <hy...@hotmail.com> on 2002/04/30 18:57:52 UTC

Searching UNICODE

Hello,

I think there's something wrong with the QueryParser.jj file. I downloaded 
lucene-1.2-rc4-src and compiled successfully with JAVA_UNICODE_ESCAPE=true 
and DEBUG_TOKEN_MANAGER = true. My output debug info for Indexing looked 
okay. It showed the correct byte arrays in UTF8. However, when I ran 
SearchFiles, the output debug showed the byte arrays in default byte! I 
tried calling QueryParser.parse after converting the search string to UTF-8, 
but still got non-UTF8 bytes. I think that's why my search's been failing.
Any ideas?? Thank you very much.

Hyong Ko
hyong_ko@hotmail.com


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Searching UNICODE

Posted by Karl Øie <ka...@gan.no>.
what language are you trying to use lucene with?

mh karl øie

On Tuesday 30 April 2002 18:57, Hyong Ko wrote:
> Hello,
>
> I think there's something wrong with the QueryParser.jj file. I downloaded
> lucene-1.2-rc4-src and compiled successfully with JAVA_UNICODE_ESCAPE=true
> and DEBUG_TOKEN_MANAGER = true. My output debug info for Indexing looked
> okay. It showed the correct byte arrays in UTF8. However, when I ran
> SearchFiles, the output debug showed the byte arrays in default byte! I
> tried calling QueryParser.parse after converting the search string to
> UTF-8, but still got non-UTF8 bytes. I think that's why my search's been
> failing. Any ideas?? Thank you very much.
>
> Hyong Ko
> hyong_ko@hotmail.com
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>