import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao;
-import eu.etaxonomy.cdm.search.LuceneSearch;
/**
* Interface for Builder classes which create {@link SearchResult} instances, from a list of LuceneSearch {@link TopDocs}.
* The Cdm enitity id found in the specified <code>idField</code> of the Lucene documents will be used to load
* the referenced Cdm entities into the <code>SearchResult</code>s.
*
- * @param luceneSearch
* @param topDocsResultSet
+ * @param highlightFields
* @param dao
* @param idField
- * @param propertyPaths TODO
+ * @param propertyPaths
* @return
* @throws CorruptIndexException
* @throws IOException
*/
- public abstract <T extends CdmBase> List<SearchResult<T>> createResultSetFromIds(LuceneSearch luceneSearch, TopDocs topDocsResultSet,
- ICdmEntityDao<T> dao, String idField, List<String> propertyPaths) throws CorruptIndexException, IOException;
+ public abstract <T extends CdmBase> List<SearchResult<T>> createResultSet(TopDocs topDocsResultSet,
+ String[] highlightFields, ICdmEntityDao<T> dao, String idField, List<String> propertyPaths) throws CorruptIndexException, IOException;
}
\ No newline at end of file