Flowpack.ElasticSearch
Flowpack.ElasticSearch copied to clipboard
Set fullMappings
Is it correct, that there's currently no possibility to specify the fullMapping
property of any Flowpack\ElasticSearch\Domain\Model\Mapping
object?
For my current project I need to configure the _all field. That's exactly what the fullMapping
property is there for.
In my opinion it would be best to have the option to define the fullMapping as a settings array inside Settings.yaml like this:
Flowpack:
ElasticSearch:
indexes:
[...]
mapping:
'person':
fullMapping:
_all:
analyzer: 'nGram_analyzer'
search_analyzer: 'whitespace_analyzer'
What do you think?
@dfeyer i think this can be closed, it's there with public function setFullMapping(array $fullMapping), just not as a configuration.