lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From petite_abeille <petite_abei...@mac.com>
Subject Re: Document-Map, Hits-List
Date Wed, 01 Dec 2004 16:39:05 GMT

On Dec 01, 2004, at 17:31, Luke Francl wrote:

> How do you avoid the problem Eric just mentioned, iterating through all
> the Hits at once to populate this data structure?

You don't need to iterate through anything upfront... you simply do it 
on-demand... eg when invoking List.get() you would invoke the 
underlying Hits.doc()...

In other words, there is _no_ new data structure... simply an 
additional interface...

PA.


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


Mime
View raw message