Esempio n. 1
0
def auto_complete_posts(content):
    """
    Read a string from the url. Return input suggestions based on user info of posts
    Return the list as json formmat

    :param name: the string read in
    :return: the list of the post suggestions that match the string
    """
    return Post.auto_complete_posts(es, content)