Re: Need help in alphanumeric search

2015-10-05 Thread Bhaskar
sis and choose a better > >> one that suits your underlying data and the queries you want to do. > Maybe > >> use WhitespaceAnalyzer or better StandardAnalyzer as a first step. Be > sure > >> to reindex your data before querying. The Analyzer used on the search &

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
its.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 <u...@the

Re: Need help in alphanumeric search

2015-10-01 Thread Ian Lea
er used on the search side >> must be the same like on the query side. If you want to use wildcards, you >> have to take care more, because wildcards are not really natural for "full >> text search engine" and may cause inconsistent results. >> >> Uwe >&g

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
t; >> one that suits your underlying data and the queries you want to do. > Maybe > >> use WhitespaceAnalyzer or better StandardAnalyzer as a first step. Be > sure > >> to reindex your data before querying. The Analyzer used on the search > side > >> must b

Re: Need help in alphanumeric search

2015-10-01 Thread Jack Krupansky
our > > queries > > >> can never match. > > >> > > >> I'd suggest to first inform yourself about analysis and choose a > better > > >> one that suits your underlying data and the queries you want to do. > > Maybe > > >> use White

Re: Need help in alphanumeric search

2015-10-01 Thread Jack Krupansky
gt; >> > Document d = new Document(); > > > > >> > d.add(new TextField("cpn", rs.getString("cpn"), > > > > Field.Store.YES)); > > > > >> > > > > > >> > writer.addDocument(d); >

Re: Need help in alphanumeric search

2015-09-30 Thread Bhaskar
63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message----- > > From: Bhaskar [mailto:bhaskar1...@gmail.com] > > Sent: Wednesday, September 30, 2015 4:28 AM > > To: java-user@lucene.apache.org > > Subject: Re: Need

Re: Need help in alphanumeric search

2015-09-29 Thread Bhaskar
uery while > searching. > > Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Erick Erickson [mailto:erickerick...@gmail.com] > > Sent:

Re: Need help in alphanumeric search

2015-09-28 Thread Erick Erickson
You need to supply the definitions of this field from your schema.xml file, both the and Additionally, please provide the results of the query you're trying with =true appended. The adminUI/analysis page is very helpful in these situations as well. Select the appropriate core from the

Re: Need help in alphanumeric search

2015-09-28 Thread Bhaskar
Thanks Lan for reply. cpn values are like 123-0049, 342-043, ab23-090, hedwsdg my application is working when i gave search for below inputs 1) ab* 2)hedwsdg 3) hed* but it is not working for 1) 123* 2) 123-0049 3) ab23* Note: if the search input has number then it is not working. Thanks

Need help in alphanumeric search

2015-09-28 Thread Bhaskar
Hi, I am beginner in Apache lucene, I am using 5.3.1. I have created the index on the database result. The index values are having alphanumeric and strings values. I am able to search the strings but I am not able to search alphanumeric values. Can someone help me here. Below is indexing

Re: Need help in alphanumeric search

2015-09-28 Thread Ian Lea
Hi Can you provide a few examples of values of cpn that a) are and b) are not being found, for indexing and searching. You may also find some of the tips at http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2F_incorrect_hits.3F useful. You haven't shown the code that

RE: Need help in alphanumeric search

2015-09-28 Thread Uwe Schindler
Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Monday, September 28, 2015 6:01 PM > To: java-user > Subject: Re: Need help in alphanumeric searc