Small problem in searching

2005-09-15 Thread tirupathi reddy
Hi guys, I have some problem while searching using Lucene. Say I have some thing like "tirupathireddy" or "venkatreddy" in the index. When i search for string "reddy" I have to get those things (i.e. "tirupathireddy" and "venkatreddy"). I have read in Query syntax of Lucene that * wil

Re: Small problem in searching

2005-09-16 Thread tirupathi reddy
Hello, I read the following statement : Note: You cannot use a * or ? symbol as the first character of a search. in this page: http://lucene.apache.org/java/docs/queryparsersyntax.html So that's why I thought of that. And at present I am using QueryParser. So it is giving error for *redd

RE: Small problem in searching

2005-09-16 Thread tirupathi reddy
Hello Luc, You are correct in that case. But if I have a string like manyamreddyvenkat. If I want to search for reddy, then I can't get that though I index all the entries in the reverse order. Is there any other way. Thanx, MTREDDY Tirupati Reddy Manyam 24-06-08, Sundugaullee-24, 791

Some problem with prefix wilcard search

2005-09-19 Thread tirupathi reddy
Hello, I am using Lucene for for searching in my application. My application needs prefix wildcard search also. But Lucene doesn't support this. So I changed in the QueryParser.jj file FROM: | (<_TERM_CHAR> | ( [ "*", "?" ] ))* > To: | | ( [ "*", "?" ] ))* > And then I build

Re: Some problem with prefix wilcard search

2005-09-19 Thread tirupathi reddy
Hello Erik, The output from ant command is : C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3>ant Buildfile: build.xml init: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\dist compile-core: [mkdir] Created dir: C:

How the default ranking works

2005-09-20 Thread tirupathi reddy
Hello, How the hits are ranked in default case. If I have say some query like this: title:"measurement procedure" AND id:ep6289* Say I have some 10 documents matched with that query, how my hits will be displayed. Which record will display first and how it will do the ranking in default

Re: How the default ranking works

2005-09-20 Thread tirupathi reddy
hello erik, I don't have that book. Is it available in the internet? Thanx, MTREDDY Tirupati Reddy Manyam 24-06-08, Sundugaullee-24, 79110 Freiburg GERMANY. Phone: 00497618811257 cell : 004917624649007 - Yahoo! for Good Click here to

Indexing .txt file containing english, german or french alphabet

2005-09-25 Thread tirupathi reddy
Hello, I have to index the text in the .txt document. This text document contains english characters , german characters etc. Please tell me how can I index that text document. Is the procedure of indexing RTF documents can be applied here? thanx, MTREDDY Tirupati Reddy Manyam 24-06-08

Problem in .txt file indexing

2005-09-26 Thread tirupathi reddy
hello, I am using the following code to index text files. InputStream is = new FileInputStream(pdf); DefaultStyledDocument styledDoc = new DefaultStyledDocument(); try { new RTFEditorKit().read(is, styledDoc, 0); bodyText = styledDoc.getText(0, styledDoc.getLe

Re: Problem in .txt file indexing

2005-09-26 Thread tirupathi reddy
Hello, SO now How can I index the text files in Lucene? Thanx, MTREDDY Tirupati Reddy Manyam 24-06-08, Sundugaullee-24, 79110 Freiburg GERMANY. Phone: 00497618811257 cell : 004917624649007 __ Do You Yahoo!? Tired of spam? Yahoo! Mail

Some error while searching the index

2005-09-28 Thread tirupathi reddy
Hello, While searching if I enter one or two characters. It founds lot of results as I can say almost all and at that time it is giving the following error. 8028 total matching documents caught a class org.apache.lucene.search.BooleanQuery$TooManyClauses with message: null And search is