parameters: (self, index, doc_type, id, body, params=None)
return_statement: return self.transport.perform_request('PUT', _make_path(index, doc_type,
              id, '_create'), params=params, body=body)
docstring: Adds a typed JSON document in a specific index, making it searchable.
          Behind the scenes this method calls index(..., op_type='create')
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html>`_
  
          :arg index: The name of the index
          :arg doc_type: The type of the document
          :arg id: Document ID
          :arg body: The document
          :arg parent: ID of the parent document
          :arg pipeline: The pipeline id to preprocess incoming documents with
          :arg refresh: If `true` then refresh the affected shards to make this
              operation visible to search, if `wait_for` then wait for a refresh
              to make this operation visible to search, if `false` (the default)
              then do nothing with refreshes., valid choices are: 'true', 'false',
              'wait_for'
          :arg routing: Specific routing value
          :arg timeout: Explicit operation timeout
          :arg timestamp: Explicit timestamp for the document
          :arg ttl: Expiration time for the document
          :arg version: Explicit version number for concurrency control
          :arg version_type: Specific version type, valid choices are: 'internal',
              'external', 'external_gte', 'force'
          :arg wait_for_active_shards: Sets the number of shard copies that must
              be active before proceeding with the index operation. Defaults to 1,
              meaning the primary shard only. Set to `all` for all shard copies,
              otherwise set to any non-negative value less than or equal to the
              total number of copies for the shard (number of replicas + 1)
docstring_summary: Adds a typed JSON document in a specific index, making it searchable.
          Behind the scenes this method calls index(..., op_type='create')
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html>`_
docstring_tokens: Adds a typed JSON document in a specific index making it searchable . Behind the scenes this method calls index ( ... op_type = create ) <http : // www . elastic . co / guide / en / elasticsearch / reference / current / docs - index_ . html > _
function: def create(self, index, doc_type, id, body, params=None):
          """
          Adds a typed JSON document in a specific index, making it searchable.
          Behind the scenes this method calls index(..., op_type='create')
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html>`_
  
          :arg index: The name of the index
          :arg doc_type: The type of the document
          :arg id: Document ID
          :arg body: The document
          :arg parent: ID of the parent document
          :arg pipeline: The pipeline id to preprocess incoming documents with
          :arg refresh: If `true` then refresh the affected shards to make this
              operation visible to search, if `wait_for` then wait for a refresh
              to make this operation visible to search, if `false` (the default)
              then do nothing with refreshes., valid choices are: 'true', 'false',
              'wait_for'
          :arg routing: Specific routing value
          :arg timeout: Explicit operation timeout
          :arg timestamp: Explicit timestamp for the document
          :arg ttl: Expiration time for the document
          :arg version: Explicit version number for concurrency control
          :arg version_type: Specific version type, valid choices are: 'internal',
              'external', 'external_gte', 'force'
          :arg wait_for_active_shards: Sets the number of shard copies that must
              be active before proceeding with the index operation. Defaults to 1,
              meaning the primary shard only. Set to `all` for all shard copies,
              otherwise set to any non-negative value less than or equal to the
              total number of copies for the shard (number of replicas + 1)
          """
          for param in (index, doc_type, id, body):
              if param in SKIP_IN_PATH:
                  raise ValueError("Empty value passed for a required argument.")
          return self.transport.perform_request('PUT', _make_path(index, doc_type,
              id, '_create'), params=params, body=body)
function_tokens: def create ( self , index , doc_type , id , body , params = None ) : for param in ( index , doc_type , id , body ) : if param in SKIP_IN_PATH : raise ValueError ( "Empty value passed for a required argument." ) return self . transport . perform_request ( 'PUT' , _make_path ( index , doc_type , id , '_create' ) , params = params , body = body )