Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
e4385af6
Commit
e4385af6
authored
May 15, 2015
by
Shwetha G S
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #80 from sumashivaprasad/graph_index_fix
https://github.com/hortonworks/metadata/issues/72
parents
40e160bb
2bda3511
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
GraphBackedSearchIndexer.java
...p/metadata/repository/graph/GraphBackedSearchIndexer.java
+4
-2
No files found.
repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphBackedSearchIndexer.java
View file @
e4385af6
...
@@ -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);
}
}
}
}
*/
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment