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