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

Per Jessen per at computer.org
Fri Jul 9 17:59:01 BST 2010

Peter Karman wrote:

> 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.

Any particular reason for using \003 other than it is not 0 and highly
unlikely to turn up in text?

/Per Jessen, Zürich

More information about the Xapian-discuss mailing list