/** Search with lucene using the previously declared search function */ public <T> List<T> searchView(Class<T> type, LuceneSearchView function, String queryString) { return connector.get(type, searchIds(type, function, queryString)); }
/** Constructor using a Database connector */ public LuceneAwareDatabaseConnector(DatabaseConnector connector) throws IOException { super(connector.getDbName(), connector.getInstance()); this.connector = connector; }