Re: Problem in .txt file indexing

2005-09-26 Thread Erik Hatcher
On Sep 26, 2005, at 2:30 PM, tirupathi reddy wrote: Hello, SO now How can I index the text files in Lucene? Didn't we go over this before?! :) Follow these steps _exactly_: 1) Download the source code from Lucene in Action from http:// www.lucenebook.com (you'll see a link at the top o

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

Re: Problem in .txt file indexing

2005-09-26 Thread Chris Hostetter
26 Sep 2005 10:49:47 -0700 (PDT) : From: tirupathi reddy <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: Problem in .txt file indexing : : hello, : : I am using the following code to index text files. : : InputStream is = new FileIn

RE: Problem in .txt file indexing

2005-09-26 Thread M å n i s h
@lucene.apache.org Subject: Problem in .txt file indexing 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

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