Commit 2bda3511 by Suma Shivaprasad

Commenting out the edge index here since most of our queries are vertex centric…

Commenting out the edge index here since most of our queries are vertex centric and we dont have any properties on which we need to index the reference edges here
parent 4543c837
...@@ -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