if (indexManager == null) {
throw new SearchException("Unknown index referenced : " + indexName);
}
List<LuceneWork> luceneWorks = indexManager.getSerializer().toLuceneWorks(this.serializedModel);
List<LuceneWork> workToApply = transformKeysToStrings(luceneWorks);//idInString field is not serialized, we need to extract it from the key object
indexManager.performOperations(workToApply, null);
return Boolean.TRUE; //Return value to be ignored
}
private List<LuceneWork> transformKeysToStrings(final List<LuceneWork> luceneWorks) {
final KeyTransformationHandler keyTransformationHandler = queryInterceptor.getKeyTransformationHandler();