Package ubic.gemma.core.search.source
Class OntologySearchSource
- java.lang.Object
-
- ubic.gemma.core.search.source.OntologySearchSource
-
- All Implemented Interfaces:
SearchSource
@Component public class OntologySearchSource extends Object implements SearchSource
-
-
Constructor Summary
Constructors Constructor Description OntologySearchSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(SearchSettings settings)
Indicate if this source accepts the given search settings.Collection<SearchResult<ExpressionExperiment>>
searchExpressionExperiment(SearchSettings settings)
Search via characteristics i.e.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.core.search.SearchSource
searchArrayDesign, searchBibliographicReference, searchBioSequence, searchBioSequenceAndGene, searchBlacklistedEntities, searchCompositeSequence, searchCompositeSequenceAndGene, searchExperimentSet, searchGene, searchGeneSet
-
-
-
-
Method Detail
-
accepts
public boolean accepts(SearchSettings settings)
Description copied from interface:SearchSource
Indicate if this source accepts the given search settings.- Specified by:
accepts
in interfaceSearchSource
-
searchExpressionExperiment
public Collection<SearchResult<ExpressionExperiment>> searchExpressionExperiment(SearchSettings settings) throws SearchException
Search via characteristics i.e. ontology terms.This is an important type of search but also a point of performance issues. Searches for "specific" terms are generally not a big problem (yielding less than 100 results); searches for "broad" terms can return numerous (thousands) results.
- Specified by:
searchExpressionExperiment
in interfaceSearchSource
- Throws:
SearchException
-
-