Commit 9df2a228 by Suma Shivaprasad

reverted constant change in API response

parent c58bdf36
...@@ -95,7 +95,7 @@ public class GraphBackedDiscoveryService implements DiscoveryService { ...@@ -95,7 +95,7 @@ public class GraphBackedDiscoveryService implements DiscoveryService {
String guid = vertex.getProperty(Constants.GUID_PROPERTY_KEY); String guid = vertex.getProperty(Constants.GUID_PROPERTY_KEY);
if (guid != null) { //Filter non-class entities if (guid != null) { //Filter non-class entities
try { try {
row.put(MetadataServiceClient.GUID, guid); row.put("guid", guid);
row.put(MetadataServiceClient.TYPENAME, vertex.<String>getProperty(Constants.ENTITY_TYPE_PROPERTY_KEY)); row.put(MetadataServiceClient.TYPENAME, vertex.<String>getProperty(Constants.ENTITY_TYPE_PROPERTY_KEY));
row.put(SCORE, result.getScore()); row.put(SCORE, result.getScore());
} catch (JSONException e) { } catch (JSONException e) {
......
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