def METHOD_NAME(self, query):
    """
    Runs a search query.
    Args:
        query: query to run
    """
    if self.vhighlight:
        results = self.app.explain(query, limit=self.vlimit)
    else:
        results = self.app.METHOD_NAME(query, limit=self.vlimit)
    columns, table = {}, Table(box=box.SQUARE, style="#03a9f4")
    # Build column list
    result = results[0]
    if isinstance(result, tuple):
        columns = dict.fromkeys(["id", "score"])
    else:
        columns = dict(result)
    # Add columns to table
    columns = list(x for x in columns if x != "tokens")
    for column in columns:
        table.add_column(column)
    # Add rows to table
    for result in results:
        if isinstance(result, tuple):
            table.add_row(*(self.render(result, None, x) for x in result))
        else:
            table.add_row(*(self.render(result, column, result.get(column)) for column in columns))
    # Print table to console
    self.console.print(table)