[Xapian-discuss] Error after upgrading to latest xapian distro

Henry C. henka at cityweb.co.za
Wed Jun 22 08:16:10 BST 2011


On Tue, June 21, 2011 22:05, Ash Gupta wrote:
> I upgraded to latest xapian version and I have started getting
>
> xapian.InvalidArgumentError: Term too long (> 245): XTEXT...
>
> This issue was not there in 1.0.16 but it is in the latest version.

I occasionally encounter this issue in the wild as well - you need to check
that individual terms in your data don't exceed 245 chars.  Realistically,
what word (in any language) exceeds this length anyway?

Regards
Henry




More information about the Xapian-discuss mailing list