parameters: (**kwargs)
docstring: usage
docstring_summary: usage
docstring_tokens: usage
function: def help(**kwargs):
      """
      usage
      """
      print "====================================================================================="
      print "solr_tools provides two ways to use: Python method and command line"
      print "Commands available:"
      print "  -op             - specific operations are listed and explained below"
      print "     add_eng        -- Add a new engine"
      print "     del_eng        -- Delete a engine"
      print "     set_schema     -- Set engine schema"
      print "     up_doc         -- Upload documents"
      print "     clear_doc      -- Clear documsnts"
      print "  -host           - hostname or host ip"
      print "  -port           - solr listenning port (default 8983)"
      print "  -eng_name       - solr engine name"
      print "  -shard          - available when op's add_eng"
      print "  -replica        - available when op's add_eng"
      print "  -nodemaxshard   - available when op's add_eng, means max shard per node"
      print "  -conf_name      - available when op's add_eng, indicate the linking conf file name"
      print "  -schema_conf    - available when op's set_schema, schema config file path"
      print "  -documents      - available when op's up_doc, documents path"
      print "  -num_thread     - available when op's up_doc, to define multithread num"
      print "====================================================================================="
function_tokens: def help ( * * kwargs ) : print "=====================================================================================" print "solr_tools provides two ways to use: Python method and command line" print "Commands available:" print "  -op             - specific operations are listed and explained below" print "     add_eng        -- Add a new engine" print "     del_eng        -- Delete a engine" print "     set_schema     -- Set engine schema" print "     up_doc         -- Upload documents" print "     clear_doc      -- Clear documsnts" print "  -host           - hostname or host ip" print "  -port           - solr listenning port (default 8983)" print "  -eng_name       - solr engine name" print "  -shard          - available when op's add_eng" print "  -replica        - available when op's add_eng" print "  -nodemaxshard   - available when op's add_eng, means max shard per node" print "  -conf_name      - available when op's add_eng, indicate the linking conf file name" print "  -schema_conf    - available when op's set_schema, schema config file path" print "  -documents      - available when op's up_doc, documents path" print "  -num_thread     - available when op's up_doc, to define multithread num" print "====================================================================================="