Need help in alphanumeric search

2015-09-28 Thread Bhaskar
Found"); for (int i = 0; i < hits.length; i++) { int docId = hits[i].doc; Document d = searcher.doc(docId); System.out.println("\"value is:\" " + d.get("cpn")); } if (hits.length == 0) { System.out.println("No Data Founds "); } Thanks in advance. -- Keep Smiling Thanks & Regards Bhaskar. Mobile:9866724142

Re: Need help in alphanumeric search

2015-09-28 Thread Bhaskar
e.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2F_incorrect_hits.3F > useful. > > You haven't shown the code that created the IndexWriter so the tip > about using the same analyzer at index and search time might be > relevant. > > > > -- > Ian. > > > On Mon, Sep 28

Re: Need help in alphanumeric search

2015-09-29 Thread Bhaskar
rcher.doc(docId); System.out.println("\"cpn value is:\" " + d.get("cpn")); } if (hits.length == 0) { System.out.println("No Data Founds "); } } } Please help here, thanks in advance. Regards, Bhaskar On Tue, Sep 29, 2015 at 3:47 AM, Uwe Schindler wrote: &g

Re: Need help in alphanumeric search

2015-09-30 Thread Bhaskar
Hi Uwe, Wav!!! Thanks a lot. I changed to StandardAnalyzer it is working. Thank you, thank you. Regards, Bhaskar On Wed, Sep 30, 2015 at 12:23 PM, Uwe Schindler wrote: > Hi Bhaskar, > > the answer is very simple: Your analysis is not useful for the type of > queries and data y

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi Uwe, my searching is working like this. if i give input as "SD RAM Bhaskar" then which ever strings are having "SD", "RAM", "Bhaskar" all results are coming . i.e. "SD lib" "RAM hello" "hi Bhaskar " "Bh

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi, I am looking for sentence search rather than word search. Regards, Bhaskar On Oct 1, 2015 7:07 PM, "Ian Lea" wrote: > Take a look at > http://lucene.apache.org/core/5_3_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description > . > S

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi Jack, my searching is working like this. if i give input as "SD RAM Bhaskar" then which ever strings are having "SD", "RAM", "Bhaskar" all results are coming . i.e. "SD lib" "RAM hello" "hi Bhaskar "

Re: Need help in alphanumeric search

2015-10-05 Thread Bhaskar
kage_description > . > Sounds like you want an AND, or a +, or both. You may also want to > take a look at phrase queries and/or span queries. > > > -- > Ian. > > > > -- > Ian. > > > On Thu, Oct 1, 2015 at 1:52 PM, Bhaskar wrote: > > Hi Uwe, > >

need help in search

2015-10-05 Thread Bhaskar
my case it should not exclude string after hyphen. can you please help how to escape this. Thanks a lot. -- Keep Smiling Thanks & Regards Bhaskar. Mobile:9866724142

Re: need help in search

2015-10-05 Thread Bhaskar
Hi, Actually I am looking for auto complete only. Do we have auto suggest module in lucene? can you suggest some examples? Thanks in advance. Regards, Bhaskar On Mon, Oct 5, 2015 at 10:30 PM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > +1 on Jack, > furthermore, ar

Lucene auto suggest

2015-11-23 Thread Bhaskar
we have to auto suggest based on the user input. Thanks in advance for help. -- Keep Smiling Thanks & Regards Bhaskar. Mobile:9866724142

Re: Lucene auto suggest

2015-11-23 Thread Bhaskar
). Please let me know if I miss any info you required. Thank you very much. Regards, Bhaskar On Mon, Nov 23, 2015 at 10:24 PM, Alessandro Benedetti < abenede...@apache.org> wrote: > Can you list us your requirements ? > > Is analysis needed in the suggester ? > Do you want

Re: Lucene auto suggest

2015-11-24 Thread Bhaskar
Could you please some help here? On Mon, Nov 23, 2015 at 10:50 PM, Bhaskar wrote: > Hi, > I have one column in the data base and it is having below data( it can > have 5000 to 3 rows) > > Fenway Antenna Dipole Top CH00 with Coaxial Cable Length 140mm > Fenway Antenna Dip

Re: Lucene auto suggest

2015-11-25 Thread Bhaskar
*Is analysis needed in the suggester ?* [Bhaskar] No Do you want to provide suggestions according to an analyser processing the suggestions and user query ? Example : user typing receiver And the system returning the Antenna records ? [Bhaskar] No, not needed.. *Do you want infix suggestions