cannot define an index for a view Explanation: You attempted to define an index for a view. User Action: Define an index for the field in the relation named in the view definition.