Return-Path: X-Original-To: apmail-lucy-user-archive@www.apache.org Delivered-To: apmail-lucy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87DCF10F27 for ; Sat, 1 Feb 2014 00:33:42 +0000 (UTC) Received: (qmail 17958 invoked by uid 500); 1 Feb 2014 00:33:42 -0000 Delivered-To: apmail-lucy-user-archive@lucy.apache.org Received: (qmail 17894 invoked by uid 500); 1 Feb 2014 00:33:41 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 17886 invoked by uid 99); 1 Feb 2014 00:33:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 00:33:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [212.227.126.186] (HELO moutng.kundenserver.de) (212.227.126.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 00:33:36 +0000 Received: from hazard.fritz.box (mnch-4d0db857.pool.mediaWays.net [77.13.184.87]) by mrelayeu.kundenserver.de (node=mreue004) with ESMTP (Nemesis) id 0MZ9aq-1VoRK31992-00L1Ed; Sat, 01 Feb 2014 01:33:15 +0100 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) From: Nick Wellnhofer In-Reply-To: <1391206680662-4114766.post@n3.nabble.com> Date: Sat, 1 Feb 2014 01:33:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <46156520-BAD9-45D6-A43D-D40D207EAA10@aevum.de> References: <1390937188978-4114036.post@n3.nabble.com> <6BDF528D-50AE-4EF3-978B-D7A45832E562@aevum.de> <1391201004104-4114751.post@n3.nabble.com> <1391206680662-4114766.post@n3.nabble.com> To: user@lucy.apache.org X-Mailer: Apple Mail (2.1827) X-Provags-ID: V02:K0:8LRmOzhf8+kADAzVvmBll43BYlJffYfhjB0lkEcZ2I0 l367uSThulVPajEpy8okzcpw3AxLI10vuizyfbpzMwln2jv/DQ 9+z7YIGn6IC4tFybXvrgYTFwdWCL5CCFzD5IoVlMB5+Eq1mtV2 3oc9FPAteQBbAVAAluj8jjR/uWx2FmO4agVTUlnt22azd8Lr7i aPFcrJHp+7w46GCIYGZj60HK3ONkV4JjqLeuOM7PyTl3/71Gss RYE+C+ZnexM/l54DvdR0IszhUH9oSLeRY8R1xJ83kzT0uHdUyE VuYFkbKw5wA2zFQ+00r/6Gj4L7yo5z7cH3XMaHLcx4UY4NQkku qXjmkjujjKBnGFfCkY50yXkHBHwxGwV/EwMK1H3eNJkh78EZbF wtqGM2qNMXWbg== X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [lucy-user] 32 bit CentOS Indexing Question On Jan 31, 2014, at 23:18 , Nick D. wrote: > Does the Lucy::Index::SortWriter::set_default_mem_thresh($bytes); = function > exist in the latest public 0.3.3 version of lucy? Yes, but it=92s ineffective due to a bug which the sortfieldwriter = branch should fix. > Is there a function like this for SegWriter (I'm assuming this is used = for > writing segments that are not sortable)? if so what is the default? Yes, there=92s Lucy::Index::PostingListWriter::set_default_mem_thresh($bytes); with a default of 16MB. This affects segment merging for indexed fields. (A segment contains data for all the fields of your schema. = PostingListWriter creates the posting lists for indexed fields. = SortWriter creates the sort cache for sortable fields. Both posting = lists and sort caches are contained in a segment.) > Are there any downsides to increasing this threshold to say 40MB? No, if you have enough memory, you can probably use a much higher value. = Maybe Marvin can give some additional details. Nick