Add a check so we don't set the Indexed property at all for strings and bytes longer then 500 bytes.
An error will be returned if the NoIndex property is set to false for those