
org.biopax.paxtools.search.Searcher Maven / Gradle / Ivy
package org.biopax.paxtools.search;
import org.biopax.paxtools.model.BioPAXElement;
public interface Searcher {
/**
* Full-text search for BioPAX elements.
*
* @param query String (keywords or Lucene query string)
* @param page hits page number (when the number of hits exceeds a threshold)
* @param filterByType - class filter
* @param datasources - filter by datasource
* @param organisms - filter by organism
* @return a bean that contains the list of BioPAX objects (hits) and annotations.
*/
SearchResult search(String query, int page,
Class extends BioPAXElement> filterByType, String[] datasources, String[] organisms);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy