lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi" <koji.sekigu...@m4.dion.ne.jp>
Subject RE: Binary fields in index
Date Mon, 26 Sep 2005 11:09:51 GMT
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
> 



Mime
View raw message