def index_single(rev_id):
    host = '127.0.0.1:9200'
    index = 'bill-index'
    map_name = 'bill-type'

    initdb()
    session = DBSession()

    revision = (session.query(BillRevision).get(rev_id)
                )
    temp = convert_to_document(revision)
    search = Search(host,index,map_name)
    search.index_item(temp)