What is a Hits object?

2005-10-05 Thread Cyril Barlow
Is it an actual array of full Documents or a list of reference points to Documents? And what's the typical size in memory of a Hits object with say 1000 avg size docs? ___ Yahoo! Messenger - NEW crystal cl

RE: What is a Hits object?

2005-10-05 Thread Mordo, Aviran (EXP N-NANNATEK)
, October 05, 2005 3:26 PM To: java-user@lucene.apache.org Subject: What is a Hits object? Is it an actual array of full Documents or a list of reference points to Documents? And what's the typical size in memory of a Hits object with say 1000 avg size

Re: What is a Hits object?

2005-10-05 Thread J.J. Larrea
A Hits object is essentially a cache on query results. It caches in 2 ways: 1. When a query returning Hits is requested, only the top 100 document IDs and scores are requested from the scoring system, and the ID/Score pairs are stored in a list in the Hits object. Whenever a document ID, score

Re: What is a Hits object?

2005-10-06 Thread Cyril Barlow
- Original Message - From: "J.J. Larrea" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 05, 2005 10:31 PM Subject: Re: What is a Hits object? > A Hits object is essentially a cache on query results. It caches in 2 ways: > > 1. When a query returning Hits i

Re: What is a Hits object?

2005-10-06 Thread Erik Hatcher
On Oct 6, 2005, at 11:28 AM, Cyril Barlow wrote: How long does the Hits object stay in memory for? As long as you keep it around. Lucene isn't responsible for keeping a reference to it, your application is. Until the IndexSearcher closes? And if you just use 1 IndexSearcher would there