spring-projects / spring-projects/spring-data-elasticsearch
Dynamic excluding fields from source
Open
Nobody has claimed this yet.
status: waiting-for-triage
- Dominant language
- Java
- Stars
- 3k
- Forks
- 1.3k
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
I want to manage to excluding fields by property from properties.yml.
Can you add SpEL in to excludeFromSource ?
e.g.
@Field(excludeFromSource = "#{@environment.getProperty('es.excludeFromSource')}")
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the properties.yml setting and the @Field(excludeFromSource) entry point shown in the issue, then trace how annotation values are handled. Define the expected behavior for SpEL backed by es.excludeFromSource; the work is done when that configuration controls source-field exclusion reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, java, spring
- Domain
- backend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100