Class CompositeSearchSourceTest
java.lang.Object
ubic.gemma.core.search.source.CompositeSearchSourceTest
Pins the identifier-match short-circuit in
CompositeSearchSource: once any source
returns a result tagged SearchResult.isExactIdentifierMatch(), subsequent sources are
not consulted. This prevents the Lucene full-text leg from running (and contributing fuzzy
matches) for queries that the DB has already pinned by canonical identifier — e.g. a dataset
short name like west-breast, a GSE accession, an NCBI gene id.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid
-
Constructor Details
-
CompositeSearchSourceTest
public CompositeSearchSourceTest()
-
-
Method Details
-
exactIdentifierHitShortCircuitsLaterSources
- Throws:
SearchException
-
nonIdentifierHitDoesNotShortCircuit
- Throws:
SearchException
-
emptyFirstSourceFallsThroughToSecond
- Throws:
SearchException
-