MorphiaOrg / MorphiaOrg/morphia
Apply @AlsoLoad during query construction
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 449
- Avg merge
- 7m
- Merged PRs (30d)
- 10
Description
@AlsoLoad is there to help load data from old location as part of a gradual migration to new schema definitions. But this gradualness breaks queries against those migrating fields. What if queries would automatically $or together filters against those fields so they'd resolve properly against those old locations? Such a feature would likely need to be opt in for performance reasons.
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 by tracing @AlsoLoad through query construction and how filters resolve migrating fields; the issue names no files or tests. Define the opt-in behavior and verify that queries combine current and old locations with $or without changing default performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100