Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 47182 invoked from network); 31 Aug 2005 16:25:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 16:25:04 -0000 Received: (qmail 86371 invoked by uid 500); 31 Aug 2005 16:24:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86336 invoked by uid 500); 31 Aug 2005 16:24:57 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 86321 invoked by uid 99); 31 Aug 2005 16:24:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 09:24:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 09:25:11 -0700 Received: by ehatchersolutions.com (Postfix, from userid 504) id CEFE013E2034; Wed, 31 Aug 2005 12:24:52 -0400 (EDT) Received: from [128.143.167.108] (d-128-167-108.bootp.Virginia.EDU [128.143.167.108]) by ehatchersolutions.com (Postfix) with ESMTP id E8F7213E2006 for ; Wed, 31 Aug 2005 12:24:29 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: <82D2BB25EFABA3478B75FF11C88148D518D90531@mlnyb706mb.amrs.win.ml.com> References: <82D2BB25EFABA3478B75FF11C88148D518D90531@mlnyb706mb.amrs.win.ml.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <49B69A6C-8401-41EC-934D-7ECE9103E669@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: Ideal Index Fragmentation Date: Wed, 31 Aug 2005 12:24:40 -0400 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.734) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on javelina X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Aug 30, 2005, at 9:53 PM, Friedland, Zachary (EDS - Strategy) wrote: > More assorted questions: > > * I have been reading the posts on using Filter vs. > BooleanQuery. To implement a search-within-a-search, it seems the > Filter is advantageous due to its cacheability, but are there other > pros or cons that should be considered (memory, speed, etc). It's only advantageous when the Filters are long-lived over multiple searches. It's not really recommended for search-within-search when the initial search is transient. Combining queries within a BooleanQuery is more recommended in that case. > * I'm interested in implementing a "dynamic filter" component > that will walk through the hits[] object and pull out distinct > values for certain fields to display as search-within-a-search > options (all of them will return at least one result since they are > in the hits[]). Has anyone implemented something like this -- how > did it work out? Walking all Hits and extracting a field is an expensive operation, so be forewarned on that. > * When using a ParallelMultiSearcher, is there an easy way to > know how many matches came from each index searched? I'd like to > be able to display how many of each object are in the combined hits > []. Since I'm storing one object type per index, the count of hits > from each index will give me that number. I'm not sure if you can get at each indexes results in that way, but you can tell which index an individual hit came from (see API docs for details on that). > * Does anyone know when 1.9/2.0 will be released? Your guess is as good as any at this point. I'm not sure what is still left to be done for a 1.9 release. I haven't heard any prods to release it any time soon, but you're welcome to push us to consider it if need be. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org