def getSliceByIndex(start, end):
    """Return a slice of the results.

        :param start: The index of the first element contained in the
            result.
        :param end: The index of the first element not contained in the
            result.
        """
