$_mapping
$_mapping : array
Mapping.
Elastica Mapping object.
send(\Elastica\Index $index, array $query = array()) : \Elastica\Response
Submits the mapping and sends it to the server.
\Elastica\Index | $index | the index to send the mappings to |
array | $query | Query string parameters to send with mapping |
Response object
create(array|\Elastica\Mapping $mapping) : self
Creates a mapping object.
array|\Elastica\Mapping | $mapping | Mapping object or properties array |
If invalid type