lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelvin Tan <kelvin-li...@relevanz.com>
Subject Re: Document lazy-loading WAS [Re: Fast access to a random page of the search results.]
Date Tue, 08 Mar 2005 18:37:38 GMT


On Tue, 8 Mar 2005 18:10:26 +0000 (GMT), mark harwood wrote:
>>>> "to be able" != "able to be"
>>>>
> OK, I thought you wanted to count terms within the
> title field. If you want to group counts on the whole
> field value change the loop in my last post to this:
>
> for(int i=0;i<reader.maxDoc();i++)
> {
> String fieldA=reader.document(i).get("fieldA");

Which brings me back full-circle, because reader.document(i) loads the entire document with
all its fields, hence the request for document lazy-loading...

k


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message