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


2016-07-03 17:42 GMT+02:00 Fabio Rinnone <[email protected]>:

> 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
>
> --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to