Re: INDEXREADER + MAXDOC

2005-01-04 Thread Erik Hatcher
On Jan 4, 2005, at 7:29 AM, Karthik N S wrote: Hi Erik I would like to EXTRACT the DATA from the various fields of the Last Document [as u said ] Ex: at IndexReader.maxDoc = 100 doc.get("Content") == "ISBN100" doc.get("name")== "LUCENE IN ACTION"" doc.get("author") == "Er

RE: INDEXREADER + MAXDOC

2005-01-04 Thread Karthik N S
ot; doc.get("author") == "Erik Hatcher" . This is my Requirement. Please With regards Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 04, 2005 5:10 PM To: Lucene Users List Subject: Re: INDEXREADER + MAXDOC On J

Re: INDEXREADER + MAXDOC

2005-01-04 Thread Erik Hatcher
On Jan 4, 2005, at 5:19 AM, Karthik N S wrote: On using the integer number of Indexreader.maxDoc() API , Is it possible to get the VALUES from the varoius fieldtypes. ex:- 'docs.get("contents") at IndexReader.maxdoc()' If so How...?? Just to be sure I understand... you want the last document

INDEXREADER + MAXDOC

2005-01-04 Thread Karthik N S
Hi Guys Apologies... On using the integer number of Indexreader.maxDoc() API , Is it possible to get the VALUES from the varoius fieldtypes. ex:- 'docs.get("contents") at IndexReader.maxdoc()' If so How...?? WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK] -

Re: maxDoc()

2004-12-09 Thread Otis Gospodnetic
Hello Garrett, Share some code, it will be easier for others to help you that way. Obviously, this would be a huge bug if the problem were within Lucene. Otis --- Garrett Heaver <[EMAIL PROTECTED]> wrote: > Can anyone please explain to my why maxDoc returns 0 when Luke shows

maxDoc()

2004-12-09 Thread Garrett Heaver
Can anyone please explain to my why maxDoc returns 0 when Luke shows 239,473 documents? maxDoc returns the correct number until I delete a document. And I have called optimize after the delete but still the problem remains Strange. Any ideas greatly appreciated Garrett

Re: maxDoc and RemoteSearchable problems

2004-02-28 Thread DMGoodstein
all fixed...it was caused by slightly different versions of the jvm being used to compile vs execute the classes. --DMG - Original Message - From: [EMAIL PROTECTED] Date: Friday, February 27, 2004 8:50 pm Subject: maxDoc and RemoteSearchable problems > I am instantiatin

maxDoc and RemoteSearchable problems

2004-02-27 Thread DMGoodstein
I am instantiating a RemoteSearchable with a file-based IndexReader: public static void main(String args[]) throws Exception { System.setSecurityManager(new RMISecurityManager()); Searchable theLocal = new IndexSearcher(args[0]); theLocal.maxDoc(); the maxDoc() method call causes

problems with maxDoc() and RemoteSearchable

2004-02-27 Thread DMGoodstein
I am instantiating a RemoteSearchable with a file-based IndexReader: public static void main(String args[]) throws Exception { System.setSecurityManager(new RMISecurityManager()); Searchable theLocal = new IndexSearcher(args[0]); -