Skip to content

Set fullMappings #60

Description

@P34CH

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions