included code secondary indexes and search indexes