From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 31 13:11:09 2022 Received: (at 60410) by debbugs.gnu.org; 31 Dec 2022 18:11:09 +0000 Received: from localhost ([127.0.0.1]:39787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBgK5-0001Mm-K6 for submit@debbugs.gnu.org; Sat, 31 Dec 2022 13:11:09 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBgK1-0001Mb-PM for 60410@debbugs.gnu.org; Sat, 31 Dec 2022 13:11:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1672510263; cv=none; d=zohomail.com; s=zohoarc; b=GjX1wrwJZEC7bUpOdoy4u9bQznfy/5hVOqN0f96/p/zuJ2GK25mOrBwN/9RUyUGUblvvwaEZ0n2SyzvZaJrwBPL1iZTmv+Y0xnDBLnI2yu3Bod1xTB4UdVLG2rX/9kH0tDMw5NQ7f9XhXurQTKxNySs/l0/otPAvax4xKnL0UPQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672510263; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=UOKZpbJxyS3E6zLpJwB5lqU9QunwTcUn42kp8QuuqKg=; b=O/yOBQVPyyKFWcqg1svrvoXUuicEX3ugXnaVBZmy7XL8lB6JEbpV62E3QrqBLc/tt3yppjQUbf/pGiMKoUSiuGovF791z9nBaFHSHMJzD/mg1zacy/a9A1Sl2Pmb5El0NVfqQFdHhZSIhdVV7+zu7Hny3L4NLyK2Q8RSXQ2j20A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1672510263; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=UOKZpbJxyS3E6zLpJwB5lqU9QunwTcUn42kp8QuuqKg=; b=MI5e/aLAfnPT1SmnkJu3+ZaRm6P+386oALIISJXXbytrWBzA80NnrasrwUdk7LR6 9O+mc9kIn05TPqvMgoYxS/K/JaWBl4a0ijGyUTCYHT8QcQM1ZT0LKv0XWbIc8wXWHFm 3C9j3yZPkoufn1Tis4otuZyXv7kNpQYz9pyZl334= Received: from localhost (i5E862CE0.versanet.de [94.134.44.224]) by mx.zohomail.com with SMTPS id 1672510262456370.8658137935579; Sat, 31 Dec 2022 10:11:02 -0800 (PST) References: <20221229201809.27997-1-arunisaac@systemreboot.net> <20221229202400.28565-1-arunisaac@systemreboot.net> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus To: Arun Isaac Subject: Re: [PATCH 1/7] xapian: Index several terms as boolean and without positions. Date: Sat, 31 Dec 2022 19:09:31 +0100 In-reply-to: <20221229202400.28565-1-arunisaac@systemreboot.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87v8lr5tqj.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60410 Cc: 60410@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Arun, thank you for your patches! I applied them all and then ran ./pre-inst-env scripts/mumi fetch but got this error: worker error: (keyword-argument-error #f Unrecognized keyword () (#:positions?)) > + ;; searching separate fields as in subject:foo, from:bar, > + ;; etc. We do not keep track of the within document > + ;; frequencies of terms that will be used for boolean > + ;; filtering. We do not generate position information for > + ;; fields that will not need phrase searching or NEAR > + ;; searches. > + (index-text! term-generator > + bugid > + #:prefix "B" > + #:wdf-increment 0 > + #:positions? #f) I made sure to update to guile-xapian 0.2.1, the latest commit, as far as I can tell. -- Ricardo