cosc = conn.getClient().get(ByteBuffer.wrap(rowKey.getBytes()), cp, consistencyLevel);
}
catch (InvalidRequestException e)
{
log.error("Unable to search from inverted index, Caused by: .", e);
throw new IndexingException(e);
}
catch (NotFoundException e)
{
log.warn("Not found any record in inverted index table.");
}
catch (UnavailableException e)
{
log.error("Unable to search from inverted index, Caused by: .", e);
throw new IndexingException(e);
}
catch (TimedOutException e)
{
log.error("Unable to search from inverted index, Caused by: .", e);
throw new IndexingException(e);
}
catch (TException e)
{
log.error("Unable to search from inverted index, Caused by: .", e);
throw new IndexingException(e);
}
finally
{
thriftClient.releaseConnection(conn);
}