> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Saturday, June 23, 2012 11:21 PM
> To: java-user@lucene.apache.org
> Subject: Re: StandardTokenizer and split tokens
>
> Uwe,
> thank you for the advice. I updated my code.
>
>
>
Uwe,
thank you for the advice. I updated my code.
On Sat, Jun 23, 2012 at 3:15 AM, Uwe Schindler wrote:
>> I found the main issue.
>> I was using ByteRef without the length. This fixed the problem.
>>
>> String word = new
> String(ref.bytes,ref.offset,ref.length);
>
> Pleas
> I found the main issue.
> I was using ByteRef without the length. This fixed the problem.
>
> String word = new
String(ref.bytes,ref.offset,ref.length);
Please see my other mail, using no character set here is the second problem
of your code, this is the correct way to do:
Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Saturday, June 23, 2012 12:26 AM
> To: java-user@lucene.apache.org
> Subject: StandardTokenizer and split t
I found the main issue.
I was using ByteRef without the length. This fixed the problem.
String word = new
String(ref.bytes,ref.offset,ref.length);
Thank you.
On Fri, Jun 22, 2012 at 6:26 PM, Mansour Al Akeel
wrote:
> Hello all,
>
> I am tying to write a simple autosugg
Hello all,
I am tying to write a simple autosuggest functionality. I was looking
at some auto suggest code, and came over this post
http://stackoverflow.com/questions/120180/how-to-do-query-auto-completion-suggestions-in-lucene
I have been stuck with the some strange words, trying to see how they