lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Storing binary data
Date Thu, 12 Jun 2003 20:52:52 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?

It would not be too hard to alter Lucene to use serialization for field 
values.  It might be interesting to try this and see how much bigger 
existing indexes become and how much slower indexing and search become. 
  In addition to modifying and, one would need 
to change and, but not much more.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message