Commit 3ecb6d11 by Suma Shivaprasad

Fixed indexing failures for specific types and due to missing transaction…

Fixed indexing failures for specific types and due to missing transaction closures. Todo - Nested transactions with write lock on graph and nested read transaction in DMS.createType are not working with bdb
parents f7fe3750 eff6c6ef
......@@ -85,7 +85,8 @@ public abstract class ABridge implements IBridge {
ITypedReferenceableInstance refBean = null;
try {
refBean = type.convert(this.convertToReferencable(bean), Multiplicity.REQUIRED);
String id = repo.createEntity(refBean, type.getName());
// String id = repo.createEntity(refBean, type.getName());
String id = null;
return id;
} catch (IllegalArgumentException | IllegalAccessException e) {
// TODO Auto-generated catch block
......
......@@ -305,7 +305,6 @@ public class GraphBackedSearchIndexer implements SearchIndexer {
}
indexBuilder.buildCompositeIndex();
LOG.info("Created index for property {} in composite index {}", propertyName, indexName);
}
......@@ -333,7 +332,6 @@ public class GraphBackedSearchIndexer implements SearchIndexer {
TitanGraphIndex vertexIndex = management.getGraphIndex(Constants.VERTEX_INDEX);
management.addIndexKey(vertexIndex, propertyKey);
LOG.debug("Created backing index for property {} of type {} ", propertyName, propertyClass.getName());
}
LOG.info("Created mixed vertex index for property {}", propertyName);
}
......
......@@ -52,17 +52,17 @@
<logger name="com.thinkaurelius.titan" additivity="false">
<level value="info"/>
<level value="debug"/>
<appender-ref ref="FILE"/>
</logger>
<logger name="org.elasticsearch" additivity="false">
<level value="info"/>
<level value="debug"/>
<appender-ref ref="FILE"/>
</logger>
<logger name="org.apache.lucene" additivity="false">
<level value="info"/>
<level value="debug"/>
<appender-ref ref="FILE"/>
</logger>
......@@ -77,7 +77,7 @@
</logger>
<root>
<priority value="info"/>
<priority value="debug"/>
<appender-ref ref="FILE"/>
</root>
......
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