add an index for getItems query