Indexing

2005-10-31 Thread anushri kumar
Hi, I've 4 fields in a document ie. id, URL, modified date, contents. id is unique for each document. I wanted to know if I index a document with the same id again , will the previous document (in the index) be overwritten or do I have to delete the index for that document first and then re in

Indexing dates

2005-10-31 Thread anushri kumar
Hi, I was trying to index dates. I wrote Document doc = new Document(); doc.add(Field.Keyword("indexdate",new Date() )); but while running the program it gave me the following error. Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.docume nt.Field.Keyword(Ljava/lang/St

Modify existing Indexes

2005-10-19 Thread anushri kumar
Hi, I'm new to lucene. I am working on an application that searches HTML, pdf, txt and word documents. I wanted to know how to overwrite the indexes for a document which has been modified. Should I overwrite that file, delete all the existing indexes and reindex all the files in the dirctory

Re: Modify existing Indexes

2005-10-19 Thread anushri kumar
Otis --- anushri kumar wrote: > Hi, > > I'm new to lucene. I am working on an application that searches HTML, > pdf, txt and word documents. I wanted to know how to overwrite the > indexes for a document which has been modified. Should I overwrite > that file, delete all the exi

Problem Running Lucene in Action sample codes

2005-10-21 Thread anushri kumar
- Yahoo! FareChase - Search multiple travel sites in one click.

Problem Running Lucene in Action sample codes

2005-10-21 Thread anushri kumar
Hi, I'm having trouble running the sample codes in Lucene in Action. I followed the instructions in the README file and in the book but no luck. I'm not familiar with ant. Can some one help please ?? Anushri - Yahoo! FareChase - Search multip