@IntegrationTest public class SearchQueryBoostsTest extends AbstractIntegrationTest
DEFAULT_ENCODING, expectedException, FACET_SEARCH_CONFIG_NAME, HW_CATALOG, ONLINE_CATALOG_VERSION, PRODUCT_CODE, SOLR_SERVER_CLOUD_ENDPOINT, SOLR_SERVER_MODE, SOLR_SERVER_STANDALONE_ENDPOINT, STAGED_CATALOG_VERSIONimportServicejaloSession| Constructor and Description |
|---|
SearchQueryBoostsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertProductCode(java.lang.String expectedProductCode,
Document document) |
protected void |
assertScore(float expectedScore,
Document document) |
void |
defaultScore() |
protected SearchResult |
executeSearchQuery(java.util.function.Consumer<SearchQuery> action) |
protected void |
loadData() |
void |
multipleAdditiveBoosts() |
void |
multipleBoostsDifferentDocuments() |
void |
multipleBoostsDifferentDocumentsWithFilterQuery() |
void |
multipleBoostsSameDocument1() |
void |
multipleBoostsSameDocument2() |
void |
multipleMultiplicativeBoosts() |
void |
singleAdditiveBoost() |
void |
singleMultiplicativeBoost() |
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getTestId, importConfig, importConfig, initializeIndexedType, readFile, setUp, tearDowncreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected void loadData()
throws ImpExException,
java.io.IOException,
FacetConfigServiceException,
SolrServiceException,
SolrServerException
loadData in class AbstractIntegrationTestImpExExceptionjava.io.IOExceptionFacetConfigServiceExceptionSolrServiceExceptionSolrServerExceptionpublic void defaultScore()
throws java.lang.Exception
java.lang.Exceptionpublic void singleMultiplicativeBoost()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleMultiplicativeBoosts()
throws java.lang.Exception
java.lang.Exceptionpublic void singleAdditiveBoost()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleAdditiveBoosts()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleBoostsSameDocument1()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleBoostsSameDocument2()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleBoostsDifferentDocuments()
throws java.lang.Exception
java.lang.Exceptionpublic void multipleBoostsDifferentDocumentsWithFilterQuery()
throws java.lang.Exception
java.lang.Exceptionprotected SearchResult executeSearchQuery(java.util.function.Consumer<SearchQuery> action) throws java.lang.Exception
java.lang.Exceptionprotected void assertProductCode(java.lang.String expectedProductCode,
Document document)
protected void assertScore(float expectedScore,
Document document)
Copyright © 2018 SAP SE. All Rights Reserved.