| Currently, we have the following:
sourceAccessor = context.getBridgedElement().createAccessor( String.class );
valueFieldAccessor = context.getIndexSchemaElement().field( fieldName ).asString().createAccessor();
which is not very consistent. These APIs are planned for rewrite so we should just check that the issue has been resolved once done. |