Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 70117 invoked from network); 3 Nov 2008 13:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 13:50:27 -0000 Received: (qmail 87757 invoked by uid 500); 3 Nov 2008 13:50:31 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 87720 invoked by uid 500); 3 Nov 2008 13:50:31 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 87702 invoked by uid 99); 3 Nov 2008 13:50:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 05:50:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 209.85.198.225 as permitted sender) Received: from [209.85.198.225] (HELO rv-out-0506.google.com) (209.85.198.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 13:49:15 +0000 Received: by rv-out-0506.google.com with SMTP id f6so2532560rvb.5 for ; Mon, 03 Nov 2008 05:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=6mLv6eHfQdRJUfMSy7Be9IR5U68Pa2K8q15KJIAM+S0=; b=si02yLgGQDGqfc2IqHEfMYlTd3APwDX63Xqi2CzQW+a2mSlDa783eyTHKnUIlxFQdz jgYfPCkeuBQzSZLnSbinvbbY25wF9CtzsGgaBbQep4hFhtren69SFAqB9bMqjlxD0x43 JCBg5nBkV7U1LINknfPWl+CRJC5rD0RajXVZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=CIXGYSRsws4tOeGZNd4E4/X/v8+SeQKRVZGQNhn2NFn0Xyz2iiKwALRUHR5b4cQMeP tjKIpgaxdxMoMOowgRgZ9YW7mgjEo9HxnG5KEyo84zBQyyR3rfw5T+rVWvUud+cwGCwT Ce4bzThOCODHbKAPiBiWtsCQMrdvHfm6gC9UU= Received: by 10.141.210.13 with SMTP id m13mr86188rvq.25.1225720187169; Mon, 03 Nov 2008 05:49:47 -0800 (PST) Received: by 10.140.192.19 with HTTP; Mon, 3 Nov 2008 05:49:47 -0800 (PST) Message-ID: Date: Mon, 3 Nov 2008 09:49:47 -0400 From: "Yonik Seeley" Sender: yseeley@gmail.com To: solr-user@lucene.apache.org Subject: Re: Doing a fast ID only search ! In-Reply-To: <490ED0A5.3040104@pixelhouse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <490ED0A5.3040104@pixelhouse.de> X-Google-Sender-Auth: c4fd91bf48871dbf X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 3, 2008 at 6:21 AM, Kraus, Ralf | pixelhouse GmbH wrote: > I have a "little" performence problem with SOLR (again). > My searches delivering 30 rows per site (for my webpage) BUT I need to get > about 500 primary keys (IDs). > Right now I am searching for my 30 complete rows (all fields) and another > search with the setting "fl=primaryID". > > Unfortunately the second (ID only) search take 3 times of my first (full > search).... Loading the stored fields (or even one) of a document is not a fast operation. Do really need to get all 500 IDs back (i.e. what will you do with those 500 IDs, and is there a different way of accomplishing the end goal). -Yonik