I can add 4 weights but the moment I add the fifth got an error
update pois
set tsearch = setweight(to_tsvector(name), 'A') ||
setweight(to_tsvector(coalesce(state_name, '')), 'B') ||
setweight(to_tsvector(coalesce(city_name)), 'C') ||
setweight(to_tsvector(coalesce(address, '')), 'D') || -- 4 weight work ok
setweight(to_tsvector(coalesce(sector_name, '')), 'E'); -- add this and got error
ERROR: unrecognized weight: 69
SQL state: XX000