2016-08-23 3 views
0

안녕 메신저를 생성하지 못할 이름 색인을 __ @recordmap @___ idx-myindex가 이미 있습니다. 다음동양 DB :</p> <p>com.orientechnologies.orient.core.index.OIndexException : tinkerpop API를 통해 Grails는 동양 DB를 사용하여 인덱스를 만들려고 다음과 같은 오류지고 인덱스를

Index<Vertex> theIndex = graph.getIndex(indexName, Vertex.class) 
if (!theIndex) { // The index is always null when searching for idx-myindex 
    log.warn "Index ${indexName} does not appear to exist" 
    return 
} 
graph.dropIndex(indexName) 
commitTransaction() 

내가 인덱스를 생성 한 후 전화하는 방법 :

Index<Vertex> theIndex = graph.getIndex(indexName, Vertex.class) 
if (theIndex) { //index is always null when searching for idx-myindex 
    log.warn "Index ${indexName} already exists" 
    return 
} 
graph.createIndex(indexName, Vertex.class) //throws the error 
commitTransaction() 

임 것은 동양 DB 2.1을 사용하여

는 나는 내가 인덱스를 드롭 먼저 호출 방법이있다. 16,이 문제는 1.6.6에서 업그레이드 한 후에 만 ​​발생합니다. 내가 매립 그래프 인덱스를 나열 할 때

또한 I 두 인덱스

1)이 있음을 알 수 __

2)

는 이유에서이 두 지수이다 myindex

@ recordmap @___ myindex 그래프 DB?

감사

지금 내 작품을 주위에 고정되어 특히이 문제 될 때까지 앞에 추가 recordmap으로 인덱스를 삭제하는 것입니다 들어

답변