private void writeEntry(PreparedStatement stmt,SearchIndexEntry entry) throws SQLException {
  stmt.setString(1,entry.getSearchTerm());
  stmt.setString(2,String.valueOf(entry.getEntityType()));
  stmt.setString(3,entry.getEntityName());
  stmt.setInt(4,entry.getSearchScore());
  stmt.addBatch();
}

private void writeEntry ( PreparedStatement stmt , SearchIndexEntry entry ) throws SQLException { stmt . setString ( 1 , entry . getSearchTerm ( ) ) ; stmt . setString ( 2 , String . valueOf ( entry . getEntityType ( ) ) ) ; stmt . setString ( 3 , entry . getEntityName ( ) ) ; stmt . setInt ( 4 , entry . getSearchScore ( ) ) ; stmt . addBatch ( ) ; }
writes an entry to the search index table
