Waring during the fulltext index

Dear all

I’ve notice than for 2 days i’ve a ticket with a atachment file that generate some warnong /error during the fulltext index of the PG databsese. The messages are the following:

[97637] [Tue Oct 15 12:32:03 2024] [warning]: DBD::Pg::st execute failed: ERROR: string is too long for tsvector (1460256 bytes, max 1048575 bytes) at /opt/rt5/sbin/rt-fulltext-indexer line 238. (/opt/rt5/sbin/rt-fulltext-indexer:238)
[97637] [Tue Oct 15 12:32:05 2024] [warning]: DBD::Pg::st execute failed: ERROR: string is too long for tsvector (1460256 bytes, max 1048575 bytes) at /opt/rt5/sbin/rt-fulltext-indexer line 244. (/opt/rt5/sbin/rt-fulltext-indexer:244)
[97637] [Tue Oct 15 12:32:05 2024] [warning]: Attachment 130367 cannot be indexed. Most probably it contains too many unique words. Error: ERROR: string is too long for tsvector (1460256 bytes, max 1048575 bytes) at /opt/rt5/sbin/rt-fulltext-indexer line 306. (/opt/rt5/sbin/rt-fulltext-indexer:306)
[97637] [Tue Oct 15 12:32:06 2024] [warning]: DBD::Pg::st execute failed: ERROR: string is too long for tsvector (1471712 bytes, max 1048575 bytes) at /opt/rt5/sbin/rt-fulltext-indexer line 244. (/opt/rt5/sbin/rt-fulltext-indexer:244)
[97637] [Tue Oct 15 12:32:06 2024] [warning]: Attachment 130383 cannot be indexed. Most probably it contains too many unique words. Error: ERROR: string is too long for tsvector (1471712 bytes, max 1048575 bytes) at /opt/rt5/sbin/rt-fulltext-indexer line 306. (/opt/rt5/sbin/rt-fulltext-indexer:306)

There is a way to delete this attachment inside RT, to eliminate this warning?

Regards.

Admin → Tools → Shredder you should be able to delete the attachment

Thank’s Knation.

Thank’s a lot for your answer. I’ve te create an “/opt/rt5/var/data/RT-Shredder” directory, and could select the issue atachment!

Regads!

1 Like