Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 25764 invoked from network); 26 Sep 2005 11:15:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 11:15:29 -0000 Received: (qmail 91138 invoked by uid 500); 26 Sep 2005 11:15:29 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 90950 invoked by uid 500); 26 Sep 2005 11:15:27 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 90937 invoked by uid 99); 26 Sep 2005 11:15:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 04:15:27 -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 [203.181.105.71] (HELO hfep05.dion.ne.jp) (203.181.105.71) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 04:15:33 -0700 Received: from koji ([59.135.92.88]) by hfep05.dion.ne.jp with ESMTP id <20050926111503912.ZDST@hfep05.dion.ne.jp>; Mon, 26 Sep 2005 20:15:03 +0900 From: "Koji Sekiguchi" To: , "'Fredrik Andersson'" Subject: RE: Binary fields in index Date: Mon, 26 Sep 2005 20:09:51 +0900 Message-ID: <000201c5c28a$d3dd53a0$0500a8c0@koji> 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, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can encode (e.g. base64) the binary data to get a String and store the String. Koji > -----Original Message----- > From: Fredrik Andersson [mailto:fidde.andersson@gmail.com] > Sent: Monday, September 26, 2005 6:31 PM > To: general@lucene.apache.org > Subject: Binary fields in index > > > Hello Gang! > > Is there any trick, or undocumented way, to store binary (unindexed, > untokenized) data in a Lucene Field? All the Field > constructors just deal > with Strings. I'm currently using another database to store > binary data, but > it would be very neat, and more efficient, to store it > directly in Lucene. > > Thanks in advance, > Fredrik >