public function setProperties(array $properties) { return $this->setParam('properties', $properties); }
/** * @return \Elastica\Type\Mapping */ public function getElasticaMapping() { $mapping = new Mapping(); $mapping->setProperties($this->getElasticaFields()); $mapping->setParam('date_detection', false); return $mapping; }