add index on keyword for length field