RE: To exit the while loop if match is found

2009-11-27 Thread DHIVYA M
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

RE: To exit the while loop if match is found

2009-11-27 Thread Uwe Schindler
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

RE: To exit the while loop if match is found

2009-11-27 Thread DHIVYA M
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

RE: To exit the while loop if match is found

2009-11-27 Thread Uwe Schindler
26, 2009 10:57 AM > To: java-user@lucene.apache.org > Subject: To exit the while loop if match is found > > Thanks for your suggested code sir. > > But it displays only one word. > > Ex: > if the input is "z" > > actual output must be > > zing

Re: To exit the while loop if match is found

2009-11-26 Thread fulin tang
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 > >

Re: To exit the while loop if match is found

2009-11-26 Thread 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 2009/11/26 DHIVYA M > Thanks for your suggested code sir. > > But it displays only one word. > > Ex: > if the input i

To exit the while loop if match is found

2009-11-26 Thread DHIVYA M
Thanks for your suggested code sir.   But it displays only one word.   Ex: if the input is "z"   actual output must be   zing Zohar   but am getting zing alone --- On Thu, 26/11/09, Uwe Schindler wrote: From: Uwe Schindler Subject: RE: Need help regarding implementation of autosuggest using jq

to exit the while loop if match is found

2009-11-26 Thread DHIVYA M
Sir,   This is my code sir. I have given break statement.    String s1= request.getParameter("indtext");     IndexReader reader = IndexReader.open("newindex");     String field="contents";     //field = field.intern();     TermEnum tenum = reader.term