Replies: 8 comments 2 replies
-
u can get OIndex obj and query index value like this: `
` |
Beta Was this translation helpful? Give feedback.
-
Hi, internal classes are only for internal usage, they are not guaranteed to be stable. The correct way to use indexes right now is to create a class with indexed field and use documents to store data. |
Beta Was this translation helpful? Give feedback.
-
index manager may very useful for developers to write customer etl tools , especially for edge integration lookup index @Rid, could you consider to give some stable api for query index by name or query data by index? |
Beta Was this translation helpful? Give feedback.
-
What stops you to use query which internally will work with the same index? |
Beta Was this translation helpful? Give feedback.
-
i copy the etl tool lookup transformer ~ it use the internal method~ by the way , your suggestion is good~~ i will change validate index from internal to class itself and change query index value from internal to index query sql ~~~ |
Beta Was this translation helpful? Give feedback.
-
Greetings. I would also add that we have used the IndexManager class extensively when creating and dropping indexes. We use the Java API for managing schema rather than SQL. Meaning we create OClass, OProperty, etc. using the Java API. We use the index manager in the same way to create indices. If this is deprecated, what Java API should we use? Indexes are (somewhat) part of the schema. IT would seem if we can edit the schema programmatically (OSchema) we should be able to still add and drop indices via the Java API. It seems like you can create the index using |
Beta Was this translation helpful? Give feedback.
-
Hi, in my situation I have
that are deprecated and I don't find anything (documentation too) that can help me to understand how to fix them |
Beta Was this translation helpful? Give feedback.
-
Hi @gianluca-valentini , you need to use a mix of documents and simple select queries.
|
Beta Was this translation helpful? Give feedback.
-
OrientDB Version: 3.1.5
Java Version: 8
OS: Windows 10
OIndexManager is now marked as deprecated, as is getIndexManager() from OMetadata.
What are correct methods for performing tasks on indexes now that these are not to be used?
Beta Was this translation helpful? Give feedback.
All reactions