'Clears out the search index completely.'

def handle(self, **options):

    self.verbosity = int(options.get(u'verbosity', 1))
    self.commit = options.get(u'commit', True)
    using = options.get(u'using')
    if (not using):
        using = connections.connections_info.keys()
    if options.get(u'interactive', True):
        self.stdout.write((u"WARNING:    This    will    irreparably    remove    EVERYTHING    from    your    search    index    in    connection    '%s'." % u"',    '".join(using)))
        self.stdout.write(u'Your    choices    after    this    are    to    restore    from    backups    or    rebuild    via    the    `rebuild_index`    command.')
        yes_or_no = six.moves.input(u'Are    you    sure    you    wish    to    continue?    [y/N]    ')
        if (not yes_or_no.lower().startswith(u'y')):
            self.stdout.write(u'No    action    taken.')
            return
    if (self.verbosity >= 1):
        self.stdout.write(u'Removing    all    documents    from    your    index    because    you    said    so.')
    for backend_name in using:
        backend = connections[backend_name].get_backend()
        backend.clear(commit=self.commit)
    if (self.verbosity >= 1):
        self.stdout.write(u'All    documents    removed.')
