Hi

I am using INDEX_TYPE.SPATIAL for indexing (latitude, longitude) pair. I am
getting following exception. Could you suggest me way to do it.

Exception in thread "main"
com.orientechnologies.orient.core.index.OIndexException: Index type:
SPATIAL is not supported. Types are
[SPATIAL,NOTUNIQUE_HASH_INDEX,FULLTEXT,UNIQUE_HASH_INDEX,UNIQUE,DICTIONARY,DICTIONARY_HASH_INDEX,FULLTEXT_HASH_INDEX,NOTUNIQUE]
at
com.orientechnologies.orient.core.index.OIndexes.createIndex(OIndexes.java:153)
at
com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:155)
at
com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:79)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:271)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1194)
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1183)
at
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1179)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:386)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)


Thank you
Chaitanya

-- 

--- 
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