lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From news...@hotu.com
Subject Re: Storing binary data
Date Thu, 12 Jun 2003 19:03:48 GMT
Eric Jain wrote:

>Has anyone ever considered storing binary data into an index? In
>particular, serialized objects? This would seem to be a natural solution
>in certain situations, and avoids many problems that arise when using a
>seperate object store (e.g. Jisp): inconsistencies while updating, and
>an index mapping that must be kept in memory. Unfortunately it seems
>Lucene can only store strings in document fields, not raw byte[]s, but
>there may be a good reason for this?
>
>--
>Eric Jain
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>  
>
You could always use some sort of binary to String encoding.  Base64 
should work, although one could probably devise more efficient encodings 
to unicode, space-wise.


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message