@Override public void refreshIndex(String rowId,DimensionRow dimensionRow,DimensionRow dimensionRowOld){
  refreshIndex(Collections.singletonMap(rowId,new Pair<>(dimensionRow,dimensionRowOld)));
}

@ Override public void refreshIndex ( String rowId , DimensionRow dimensionRow , DimensionRow dimensionRowOld ) { refreshIndex ( Collections . singletonMap ( rowId , new Pair < > ( dimensionRow , dimensionRowOld ) ) ) ; }
refresh lucene index query the lucene indexes on key column to see if there are any existing indexes . if yes , then we need to update the indexes . update is done by first deleting the existing documents and then adding new ones . if not , then just add the documents to indexes .
