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
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
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
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]
-
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
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
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
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
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]);
-