ioService().write( path2,
xml2 );
Thread.sleep( 5000 ); //wait for events to be consumed from jgit -> (notify changes -> watcher -> index) -> lucene index
final Index index = getConfig().getIndexManager().get( org.uberfire.metadata.io.KObjectUtil.toKCluster( basePath.getFileSystem() ) );
//Score Cards using org.drools.workbench.screens.guided.scorecard.backend.server.indexing.classes.Applicant
{
final IndexSearcher searcher = ( (LuceneIndex) index ).nrtSearcher();
final TopScoreDocCollector collector = TopScoreDocCollector.create( 10,