Custom Index Creation for orientDB #10588
Answered
by
tglman
pranavasathya
asked this question in
Q&A
-
|
So, I came across the Custom Index Creation for OrientDB using java and Generate the JAR file and use it as plugin in OrientDB. But I am unable to create custom index by following the documentation https://orientdb.dev/docs/3.2.x/internals/Custom-Index-Engine.html |
Beta Was this translation helpful? Give feedback.
Answered by
tglman
Oct 31, 2025
Replies: 1 comment 7 replies
-
|
Hi, It depends on the version you are using, I guess is 3.2.x, and the guide is a bit outdated, because as today we do have a double layer of interfaces to plug under the indexes |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
We do not have an update documentation on that, as you saw on the docs you linked, you need mainly to implement the OIndexFactory and add a resource locator file to make it load, you need also to implement the OBaseIndexEngine interface, and potentially the OIndexInternal (but not required if handling standard unique/notunique case, for that you can use built-in implementations).
Here is the code of the interfaces: https://github.com/orientechnologies/orientdb/blob/3.2.x/core/src/main/java/com/orientechnologies/orient/core/index/engine/OBaseIndexEngine.java https://github.com/orientechnologies/orientdb/blob/3.2.x/core/src/main/java/com/orientechnologies/orient/core/index/OIndexFactory…