Done :)

On Tuesday, January 27, 2015 at 1:44:19 PM UTC+2, Andrey Lomakin wrote:
>
> Hi,
> Seems so could you create issue  ?
>
> On Tue, Jan 27, 2015 at 12:26 PM, john davids <[email protected] 
> <javascript:>> wrote:
>
>> Hello
>>
>> Using the documentation and this answer as guide
>>
>> http://stackoverflow.com/questions/22105716/how-do-i-create-a-case-insensitive-automatic-orientdb-index
>>
>> I tried to create an index
>>
>> CREATE INDEX Class.name ON Class (name COLLATE CI) notunique_hash_index
>>
>> The server console said
>>
>> com.orientechnologies.orient.core.exception.OCommandExecutionException: 
>> Error on execution of command: sql.CREATE INDEX Class.name on Class (name 
>> COLLATE CI) NOTUNIQUE_HASH_INDEX
>>         at 
>> com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1182)
>>         at 
>> com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1165)
>>         at 
>> com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1180)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:385)
>>         at 
>> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:216)
>>         at 
>> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65)
>> Caused by: java.lang.NullPointerException
>>         at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
>>         at java.util.Arrays.asList(Arrays.java:2828)
>>         at 
>> com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:256)
>>         at 
>> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)
>>         at 
>> com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1176)
>>         ... 6 more
>>
>> If I run it like this, all it's ok
>> CREATE INDEX Class.name ON Class (name) notunique_hash_index
>>
>> -- 
>>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
>  

-- 

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