Anyways thanks for your suggestion sir
--- On Fri, 27/11/09, Uwe Schindler wrote:
From: Uwe Schindler
Subject: RE: To exit the while loop if match is found
To: java-user@lucene.apache.org
Date: Friday, 27 November, 2009, 11:19 AM
This question is out of the scope of Lucene. Try using some
IVYA M [mailto:dhivyakrishna...@yahoo.com]
> Sent: Friday, November 27, 2009 12:17 PM
> To: java-user@lucene.apache.org
> Subject: RE: To exit the while loop if match is found
>
> Sir anyways i want this to happen in keypress event of the text box.
> Can u suggest me a way for this
Sir anyways i want this to happen in keypress event of the text box.
Can u suggest me a way for this?
Thanks in advance,
Dhivya.M
--- On Fri, 27/11/09, Uwe Schindler wrote:
From: Uwe Schindler
Subject: RE: To exit the while loop if match is found
To: java-user@lucene.apache.org
Date: Friday
Another more simplier approach is to use
http://lucene.apache.org/java/3_0_0/api/core/org/apache/lucene/search/Prefix
TermEnum.html
It is a wrapper term enumeration that lists all Terms with the supplied
prefix. You do not need to filter anything manual, just use a while-loop:
IndexReader reader
Make sure your analyzer has called strToLower when index the data
2009/11/26 Savvas-Andreas Moysidis :
> hi,
>
> maybe you could not break but rather collect them in an ordered collection.
> If it's a web app you are having you can then pass it up your view layer
> wrapped in json?
>
> savvas
>
>
hi,
maybe you could not break but rather collect them in an ordered collection.
If it's a web app you are having you can then pass it up your view layer
wrapped in json?
savvas
2009/11/26 DHIVYA M
> Thanks for your suggested code sir.
>
> But it displays only one word.
>
> Ex:
> if the input i