orientechnologies / orientechnologies/orientdb-docs

Unique composite index example is NOTUNIQUE

Open
#373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
59
Forks
165
PR merge metrics
No merged PRs in 30d

Description

In the indicies section of Schema.md, the example creates a NOTUNIQUE index but the descriptive text states that it creates a unique composite index:

You can also constrain a group of properties as unique by creating a composite index made from multiple fields. For instance,

profile.createIndex("compositeIdx", OClass.INDEX_TYPE.NOTUNIQUE, "name", "surname");

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

Open Schema.md and read the indices-as-constraints section around the composite index example. Update the example so it matches the description of a unique composite index, then verify that the surrounding documentation consistently describes the corrected index behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.