Return-Path: Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 79353 invoked from network); 17 Sep 2003 01:03:27 -0000 Received: from unknown (HELO wh04.infopop.net) (63.251.4.131) by daedalus.apache.org with SMTP; 17 Sep 2003 01:03:27 -0000 Received: from littleBuddy (planck.closedtopic.net [63.251.4.114]) (authenticated (0 bits)) by wh04.infopop.net (8.11.6/8.11.6) with ESMTP id h8H144M14858 for ; Tue, 16 Sep 2003 18:04:04 -0700 From: "Barry Kaplan" To: "Lucene Developers List" Subject: RE: Caching filter wrapper (was Re: RE : DateFilter.Before/After) Date: Tue, 16 Sep 2003 18:02:42 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3F6739BD.9000800@lucene.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Doug Cutting wrote: >I wonder if SearchBean, or something like it, should be added to the >core? This is something lots of folks ask for. SearchBean's technique >can use a fair amount of memory, but most folks are not short on RAM >these days. One could optimize SearchBean's sorting for integer-valued >fields, but that could also be done after it is added to the core. > >What do folks think about adding SearchBean to the core? Perhaps it >could be merged with the existing Hits code, as a primary API for >accessing search results? > >Doug I think there could be some other optimization with the SearchBean if added to the core in how it builds its cache. Currently it looks like the SearchBean will create the entire document once per sorted field needed from the document, this could be changed. Also, if you only need one field from the doc it would be nice if you only read that one field from the index instead of building the entire document and than selecting out the one field needed. -Barry