Commit e4385af6 by Shwetha G S

Merge pull request #80 from sumashivaprasad/graph_index_fix

parents 40e160bb 2bda3511
...@@ -219,7 +219,8 @@ public class GraphBackedSearchIndexer implements SearchIndexer { ...@@ -219,7 +219,8 @@ public class GraphBackedSearchIndexer implements SearchIndexer {
case CLASS: case CLASS:
// this is only A reference, index the attribute for edge // this is only A reference, index the attribute for edge
createEdgeMixedIndex(propertyName); // Commenting this out since we do not need an index for edge here
//createEdgeMixedIndex(propertyName);
break; break;
default: default:
...@@ -330,6 +331,7 @@ public class GraphBackedSearchIndexer implements SearchIndexer { ...@@ -330,6 +331,7 @@ public class GraphBackedSearchIndexer implements SearchIndexer {
return propertyKey; return propertyKey;
} }
/* Commenting this out since we do not need an index for edge label here
private void createEdgeMixedIndex(String propertyName) { private void createEdgeMixedIndex(String propertyName) {
TitanManagement management = titanGraph.getManagementSystem(); TitanManagement management = titanGraph.getManagementSystem();
EdgeLabel edgeLabel = management.getEdgeLabel(propertyName); EdgeLabel edgeLabel = management.getEdgeLabel(propertyName);
...@@ -339,5 +341,5 @@ public class GraphBackedSearchIndexer implements SearchIndexer { ...@@ -339,5 +341,5 @@ public class GraphBackedSearchIndexer implements SearchIndexer {
management.commit(); management.commit();
LOG.info("Created index for edge label {}", propertyName); LOG.info("Created index for edge label {}", propertyName);
} }
} } */
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment