$finder = $this->container->get('fos_elastica.finder.index.type');
$result = $finder->find('string_to_find');
My entity consists of 20 properties and elastic has only 3 fields.
in $result I will have all 20 properties. How I can have only these 3 properties which I do search on.
Generally I would like to know how I can handle properties which will be in result variable?
here is config.yml
persistence:model: MyBundle\Entity\EntityName