Package ubic.gemma.core.search
Interface SearchSource
-
- All Known Subinterfaces:
FieldAwareSearchSource
- All Known Implementing Classes:
CompositeSearchSource
,DatabaseSearchSource
,HibernateSearchSource
,OntologySearchSource
public interface SearchSource
Search source that providesSearchResult
from a search engine.- Author:
- poirigui
-
-
Method Summary
-
-
-
Method Detail
-
accepts
boolean accepts(SearchSettings settings)
Indicate if this source accepts the given search settings.
-
searchArrayDesign
default Collection<SearchResult<ArrayDesign>> searchArrayDesign(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchBibliographicReference
default Collection<SearchResult<BibliographicReference>> searchBibliographicReference(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchExperimentSet
default Collection<SearchResult<ExpressionExperimentSet>> searchExperimentSet(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchBioSequence
default Collection<SearchResult<BioSequence>> searchBioSequence(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchBioSequenceAndGene
@Deprecated default Collection<SearchResult<?>> searchBioSequenceAndGene(SearchSettings settings, @Nullable Collection<SearchResult<Gene>> previousGeneSearchResults) throws SearchException
Deprecated.usesearchBioSequence(SearchSettings)
(SearchSettings)} insteadSearch for biosequence and, unfortunately genes.I wanted to remove this, but there's some logic with indirect gene hit penalty that we might want to keep around.
- Returns:
- a mixture of
BioSequence
andGene
matching the search settings. - Throws:
SearchException
-
searchCompositeSequence
default Collection<SearchResult<CompositeSequence>> searchCompositeSequence(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchCompositeSequenceAndGene
@Deprecated default Collection<SearchResult<?>> searchCompositeSequenceAndGene(SearchSettings settings) throws SearchException
Deprecated.usesearchCompositeSequence(SearchSettings)
insteadSearch for composite sequences and, unfortunately, genes.FIXME: this should solely return
CompositeSequence
- Returns:
- a mixture of
Gene
andCompositeSequence
matching the search settings - Throws:
SearchException
-
searchExpressionExperiment
default Collection<SearchResult<ExpressionExperiment>> searchExpressionExperiment(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchGene
default Collection<SearchResult<Gene>> searchGene(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchGeneSet
default Collection<SearchResult<GeneSet>> searchGeneSet(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
searchBlacklistedEntities
default Collection<SearchResult<BlacklistedEntity>> searchBlacklistedEntities(SearchSettings settings) throws SearchException
- Throws:
SearchException
-
-