Class SearchQueryFacetsPerfSpec
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
-
- de.hybris.platform.solrfacetsearch.integration.AbstractSearchQueryPerfTest
-
- de.hybris.platform.solrfacetsearch.integration.SearchQueryFacetsPerfSpec
-
- All Implemented Interfaces:
JaloSessionHolder
@PerformanceTest public class SearchQueryFacetsPerfSpec extends AbstractSearchQueryPerfTest
-
-
Field Summary
Fields Modifier and Type Field Description protected static intBATCH_SIZEprotected static intFACET_DISTINCT_VALUE_COUNTprotected static booleanGROUPprotected static intGROUP_DISTINCT_VALUE_COUNTprotected static booleanGROUP_FACETSprotected static java.lang.StringGROUP_PROPERTY_PREFIXprotected static intMULTI_VALUED_FACET_COUNTprotected static java.lang.StringMULTI_VALUED_FACET_PROPERTY_PREFIXprotected static intMULTI_VALUED_FACET_VALUE_COUNTprotected static intPRODUCT_COUNTprotected static intSEARCH_DURATION_MILLISprotected static intSINGLE_VALUED_FACET_COUNTprotected static java.lang.StringSINGLE_VALUED_FACET_PROPERTY_PREFIX-
Fields inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractSearchQueryPerfTest
PRODUCT_PREFIX, TEST_CATALOG, TEST_CATALOG_VERSION
-
Fields inherited from class de.hybris.platform.solrfacetsearch.integration.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_VERSION
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SearchQueryFacetsPerfSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<FacetField>buildSearchQueryFacets()protected voidcreateProperties()protected SearchResultexecuteSearchQuery(java.util.List<FacetField> facets)voidsearchQueryFacetsPerfTest()-
Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractSearchQueryPerfTest
assertDocumentField, createProducts, executeSearchQuery, indexProducts, loadData, updateIndexType
-
Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getSolrSearchProviderFactory, getTestId, importConfig, importConfig, initializeIndexedType, readFile, setUp, tearDown
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
BATCH_SIZE
protected static final int BATCH_SIZE
- See Also:
- Constant Field Values
-
PRODUCT_COUNT
protected static final int PRODUCT_COUNT
- See Also:
- Constant Field Values
-
SINGLE_VALUED_FACET_PROPERTY_PREFIX
protected static final java.lang.String SINGLE_VALUED_FACET_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
SINGLE_VALUED_FACET_COUNT
protected static final int SINGLE_VALUED_FACET_COUNT
- See Also:
- Constant Field Values
-
MULTI_VALUED_FACET_PROPERTY_PREFIX
protected static final java.lang.String MULTI_VALUED_FACET_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
MULTI_VALUED_FACET_COUNT
protected static final int MULTI_VALUED_FACET_COUNT
- See Also:
- Constant Field Values
-
MULTI_VALUED_FACET_VALUE_COUNT
protected static final int MULTI_VALUED_FACET_VALUE_COUNT
- See Also:
- Constant Field Values
-
FACET_DISTINCT_VALUE_COUNT
protected static final int FACET_DISTINCT_VALUE_COUNT
- See Also:
- Constant Field Values
-
GROUP_PROPERTY_PREFIX
protected static final java.lang.String GROUP_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
GROUP
protected static final boolean GROUP
- See Also:
- Constant Field Values
-
GROUP_FACETS
protected static final boolean GROUP_FACETS
- See Also:
- Constant Field Values
-
GROUP_DISTINCT_VALUE_COUNT
protected static final int GROUP_DISTINCT_VALUE_COUNT
-
SEARCH_DURATION_MILLIS
protected static final int SEARCH_DURATION_MILLIS
- See Also:
- Constant Field Values
-
-
Method Detail
-
searchQueryFacetsPerfTest
public void searchQueryFacetsPerfTest() throws java.lang.Exception- Throws:
java.lang.Exception
-
createProperties
protected void createProperties() throws java.lang.Exception- Throws:
java.lang.Exception
-
buildSearchQueryFacets
protected java.util.List<FacetField> buildSearchQueryFacets()
-
executeSearchQuery
protected SearchResult executeSearchQuery(java.util.List<FacetField> facets) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-