예제 #1
0
 public Index<Relationship> createRelationshipIndex(String named) {
   return database.getIndexManager().forRelationships(named);
 }
예제 #2
0
 public Index<Relationship> getRelationshipIndex(String indexName) {
   return database.getIndexManager().forRelationships(indexName);
 }
예제 #3
0
 public Index<Relationship> createRelationshipFullTextIndex(String named) {
   return database
       .getIndexManager()
       .forRelationships(
           named, MapUtil.stringMap(IndexManager.PROVIDER, "lucene", "type", "fulltext"));
 }
예제 #4
0
 public String[] getRelationshipIndexes() {
   return database.getIndexManager().relationshipIndexNames();
 }
예제 #5
0
 public Index<Node> createNodeIndex(String named) {
   return database.getIndexManager().forNodes(named);
 }
예제 #6
0
 public Index<Node> createNodeFullTextIndex(String named) {
   return database
       .getIndexManager()
       .forNodes(named, MapUtil.stringMap(IndexManager.PROVIDER, "lucene", "type", "fulltext"));
 }
예제 #7
0
 public Index<Node> getNodeIndex(String indexName) {
   return database.getIndexManager().forNodes(indexName);
 }
예제 #8
0
 public String[] getNodeIndexes() {
   return database.getIndexManager().nodeIndexNames();
 }