objectbox / objectbox/objectbox-java

Support for Composite Indexes

Open
#448 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

not sure about this
Dominant language
Java
Stars
4.6k
Forks
311
PR merge metrics
No merged PRs in 30d

Description

I want use a composite index over two (long) properties as an id. I know support for Unique properties is still in the works as per #20, but even without the uniqueness constraint it would be much faster to query and check manually if I have to before inserting.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing how indexes are currently supported and the uniqueness work discussed in #20, then define the scope for indexing two long properties; done means the database can use that composite index for the requested queries without requiring uniqueness.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.