Indexes engine

30 views
Skip to first unread message

Fabio Rinnone

unread,
Jul 3, 2016, 11:42:49 AM7/3/16
to OrientDB
Hi there,

if I create different type of indexes as follow via graph API:

OClass.INDEX_TYPE indexType;
if (unique && hash)
indexType = OClass.INDEX_TYPE.UNIQUE_HASH_INDEX;
else if (!unique && hash)
indexType = OClass.INDEX_TYPE.NOTUNIQUE_HASH_INDEX;
else if (unique && !hash)
indexType = OClass.INDEX_TYPE.UNIQUE;
else
indexType = OClass.INDEX_TYPE.NOTUNIQUE;

why every index results that use always SBTREE engine (see attached
screenshot)?

From manual[1] HASH_INDEX should be use HashIndex algorithm rather than
SBTree Algorithm

Is this correct?

Thank you everybody.

--
Fabio Rinnone
Skype: fabiorinnone
Web: http://www.fabiorinnone.eu
Schermata da 2016-07-03 17:23:07.png
signature.asc

Luigi Dell'Aquila

unread,
Jul 4, 2016, 1:59:38 AM7/4/16
to orient-...@googlegroups.com
Hi Fabrizio,

That's an old bug in OrientDB Studio, it just displays the wrong engine type (always SBTREE), but the indexes are created correctly

Thanks

Luigi


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages