Andrey, do you need any help from me to solve such problem? 

Regards,
Valentin



On 08 апр. 2014 г., at 18:28, Andrey Lomakin <[email protected]> wrote:

> Hi,
> Could you send me database I will try.
> 
> 
> On Tue, Apr 8, 2014 at 4:55 PM, Valentin Popov <[email protected]> wrote:
> I have a database with 15 vertexes of type v_user. Each of vertexes has a 
> property EMAIL where are List<String> of emails, so the Object of property is 
> a List<String>. When some while after I want add property and index to such 
> property I throw Exception: java.lang.IllegalArgumentException
> 
> 
> OrientGraph graph = new OrientGraph(location);
> OrientVertexType ovt = graph.getVertexType("v_user");
> ovt.createProperty("EMAIL", OType.LINKLIST);
> OIndex<?> index = ovt.createIndex("v_user_EMAIL", INDEX_TYPE.UNIQUE, "EMAIL");
> 
> here us a ovt where such exception are throw 
> 
> {name:v_user,shortName:null,defaultClusterId:11,strictMode:false,abstract:false,overSize:0.0,clusterIds:[1],properties:[3],customFields:null,superClass:OGraphVertex}
> {id=ID (type=STRING), user_name=USER_NAME (type=STRING), email=EMAIL 
> (type=LINKLIST)}
> 
> 
> com.orientechnologies.orient.core.index.OIndexException: Error on rebuilding 
> the index for clusters: [v_user]
> 
> java.lang.IllegalArgumentException: Argument '"[email protected]"' is not 
> a RecordId in form of string. Format must be: <cluster-id>:<cluster-position>
> 
> Any clue? 
> 
> Regards,
> Valentin 
> 
> -- 
> 
> --- 
> 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.
> 
> 
> 
> -- 
> Best regards,
> Andrey Lomakin.
> 
> Orient Technologies
> the Company behind OrientDB
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "OrientDB" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/orient-database/bNKS5H9aBwY/unsubscribe.
> To unsubscribe from this group and all its topics, 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