[Xapian-discuss] multiple value with the same number?

Peter Karman peter at peknet.com
Fri Jul 9 16:38:41 BST 2010


Per Jessen wrote on 07/09/2010 10:27 AM:
> I am working on a system for indexing email, and it would be nice to be
> able to store multiple values for the same value_no - for instance, if
> an email has multiple attachments, I might want to attach a value for
> each attachment, but a value with the same number. 
> One option would be store the three values as one, e.g. comma-separated,
> but I was just wondering how others have dealt with such a situation? 
> 

swish_xapian stores multi-value strings delimited with ASCII character \003.


-- 
Peter Karman  .  http://peknet.com/  .  peter at peknet.com



More information about the Xapian-discuss mailing list