Skip to content

Add enabled mapping parameter to FieldType configuration [DATAES-798] #1370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Apr 23, 2020 · 1 comment · Fixed by #1652
Closed
Assignees
Labels
in: core Issues in core support type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

sothawo opened DATAES-798 and commented

enabled should be added as a possible FieldType parameter


Affects: 4.0 RC1 (Neumann)

Reference URL: https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core support labels Dec 31, 2020
@sothawo sothawo self-assigned this Jan 17, 2021
@sothawo
Copy link
Collaborator

sothawo commented Jan 17, 2021

Mapping can be disabled by setting @Mapping(enabled=false) on

  • an entity class, disabling the mapping for the whole entity
  • a property of type FieldType.Object, disabling the mapping for this property

@sothawo sothawo added this to the 4.2 M3 (2021.0.0) milestone Jan 17, 2021
sothawo added a commit that referenced this issue Jan 17, 2021
Original PullRequest #1652 
Closes #1370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants