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

rm at tuxteam.de rm at tuxteam.de
Wed Jun 22 10:44:01 BST 2011


On Wed, Jun 22, 2011 at 09:16:10AM +0200, Henry C. wrote:
> 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?

May I humbly point out that a "term" isn't neccessarily a "word" .... ?

 Cheers, Ralf Mattes

> Regards
> Henry
> 
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss



More information about the Xapian-discuss mailing list