RE: What is a Hits object?

2005-10-05 Thread Mordo, Aviran (EXP N-NANNATEK)
Hits is a list of reference points to Documents, it does not contain the entire document, only when you ask for a document it goes and read the document from the index Aviran http://www.aviransplace.com -Original Message- From: Cyril Barlow [mailto:[EMAIL PROTECTED] Sent: Wednesday, Octo

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