@IntegrationTest public class SearchHighlightingFieldsTest extends AbstractIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DESCRIPTION_FIELD |
static java.lang.String |
LANGUAGE_EN |
static java.lang.String |
NAME_FIELD |
static java.lang.String |
PRODUCT_CODE_FIELD |
static java.lang.String |
SEARCH_TERM_RED |
static java.lang.String |
SEARCH_TERM_SHIRT |
static java.lang.String |
SEARCH_TERM_TROUSERS |
static java.lang.String |
SYNONYM_TERM_TROUSERS |
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 |
|---|
SearchHighlightingFieldsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadData() |
void |
testDisableHighlightingEnableProperties() |
void |
testEnableHighlightingDisableProperties() |
void |
testHighlightingForQuery() |
void |
testHighlightingFreeTextSearch() |
void |
testHighlightingFreeTextSearchWithSynonym() |
void |
testWithoutHighlighting() |
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, takeJaloSessionpublic static final java.lang.String SEARCH_TERM_SHIRT
public static final java.lang.String SEARCH_TERM_TROUSERS
public static final java.lang.String SYNONYM_TERM_TROUSERS
public static final java.lang.String SEARCH_TERM_RED
public static final java.lang.String LANGUAGE_EN
public static final java.lang.String NAME_FIELD
public static final java.lang.String DESCRIPTION_FIELD
public static final java.lang.String PRODUCT_CODE_FIELD
protected void loadData()
throws ImpExException,
java.io.IOException,
FacetConfigServiceException,
SolrServiceException,
SolrServerException
loadData in class AbstractIntegrationTestImpExExceptionjava.io.IOExceptionFacetConfigServiceExceptionSolrServiceExceptionSolrServerExceptionpublic void testWithoutHighlighting()
throws java.lang.Exception
java.lang.Exceptionpublic void testEnableHighlightingDisableProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisableHighlightingEnableProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testHighlightingFreeTextSearch()
throws java.lang.Exception
java.lang.Exceptionpublic void testHighlightingFreeTextSearchWithSynonym()
throws java.lang.Exception
java.lang.Exceptionpublic void testHighlightingForQuery()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.