{
intermediateResponse = new SearchIntermediateResponse();
}
else if( responseFuture instanceof ExtendedFuture )
{
intermediateResponse = new ExtendedIntermediateResponse();
}
else
{
// currently we only support IR for search and extended operations
throw new UnsupportedOperationException( "Unknown ResponseFuture type " + responseFuture.getClass().getName() );