Class AbstractSearchQueryPerfTest

    • Constructor Detail

      • AbstractSearchQueryPerfTest

        public AbstractSearchQueryPerfTest()
    • Method Detail

      • updateIndexType

        protected void updateIndexType​(java.lang.String indexedPropertyPrefix,
                                       int indexedPropertyCount,
                                       java.util.function.Consumer<SolrIndexedPropertyModel> action)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createProducts

        protected void createProducts​(int productCount,
                                      int batchSize)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • indexProducts

        protected void indexProducts()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • executeSearchQuery

        protected SearchResult executeSearchQuery​(java.util.function.Consumer<SearchQuery> action)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertDocumentField

        protected void assertDocumentField​(java.lang.Object expectedValue,
                                           Document document,
                                           java.lang.String field)