def getIndexes(array, keyword):
    """
    Returns array of indices search term appears in input array
    """
    indexes = []
    for i in range(len(array)):
        if array[i] == keyword:
            indexes.append(i)
    return indexes