Displaying 1 result from an estimated 1 matches for "xpdoc".
Did you mean:
xdoc
2010 Jun 10
0
Exception: Key too long
...replace_document().
I'm using trunk, r13989.
Ok, I have my stupid hat on this morning, so please bear with me:
...
# $raw_text could contain up to 110k of text.
$analyzer->index_text ($raw_text, ...);
$index->add_spelling(...foreach word in $raw_text...);
...
$index->add_document($xpdoc);
...
Now, when you say I need to truncate my term lengths to 240, what exactly
are we talking about? Truncating $raw_text is obviously not it; are we
talking about making sure that each term/word in $raw_text does not exceed
240? Their *is* a lot of junk out there (base64/ascii/etc) where this...