Raise error when indexed_fields setting is used