Class AbstractSearchQueryFreeTextSearchTest

All Implemented Interfaces:
JaloSessionHolder
Direct Known Subclasses:
SearchQueryFreeTextSearchDisMaxTest, SearchQueryFreeTextSearchMultiFieldTest

@ManualTest public abstract class AbstractSearchQueryFreeTextSearchTest extends AbstractSearchQueryTest
  • Constructor Details

    • AbstractSearchQueryFreeTextSearchTest

      public AbstractSearchQueryFreeTextSearchTest()
  • Method Details

    • getFreeTextQueryBuilder

      protected abstract String getFreeTextQueryBuilder()
    • loadData

      protected void loadData() throws Exception
      Overrides:
      loadData in class AbstractIntegrationTest
      Throws:
      Exception
    • addFreeTextQuery

      public void addFreeTextQuery() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithExactMatch1

      public void addFreeTextQueryWithExactMatch1() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithExactMatch2

      public void addFreeTextQueryWithExactMatch2() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithFieldEscaping

      public void addFreeTextQueryWithFieldEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithQueryEscaping

      public void addFreeTextQueryWithQueryEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithNoResults

      public void addFreeTextQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextFuzzyQuery

      public void addFreeTextFuzzyQuery() throws Exception
      Throws:
      Exception
    • addFreeTextFuzzyQueryWithExactMatch

      public void addFreeTextFuzzyQueryWithExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextFuzzyQueryWithFieldEscaping

      public void addFreeTextFuzzyQueryWithFieldEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextFuzzyQueryWithQueryEscaping

      public void addFreeTextFuzzyQueryWithQueryEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextFuzzyQueryWithNoResults

      public void addFreeTextFuzzyQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixQuery

      public void addFreeTextWildcardPrefixQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixQueryWithExactMatch

      public void addFreeTextWildcardPrefixQueryWithExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixWithFieldEscapingQuery

      public void addFreeTextWildcardPrefixWithFieldEscapingQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixWithQueryEscapingQuery

      public void addFreeTextWildcardPrefixWithQueryEscapingQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixQueryWithNoResults

      public void addFreeTextWildcardPrefixQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPostfixQuery

      public void addFreeTextWildcardPostfixQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPostfixQueryWithExactMatch

      public void addFreeTextWildcardPostfixQueryWithExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPostfixWithFieldEscapingQuery

      public void addFreeTextWildcardPostfixWithFieldEscapingQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPostfixWithQueryEscapingQuery

      public void addFreeTextWildcardPostfixWithQueryEscapingQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPostfixQueryWithNoResults

      public void addFreeTextWildcardPostfixQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixAndPostfixQuery

      public void addFreeTextWildcardPrefixAndPostfixQuery() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixAndPostfixQueryWithExactMatch

      public void addFreeTextWildcardPrefixAndPostfixQueryWithExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixAndPostfixQueryWithFieldEscaping

      public void addFreeTextWildcardPrefixAndPostfixQueryWithFieldEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixAndPostfixQueryWithQueryEscaping

      public void addFreeTextWildcardPrefixAndPostfixQueryWithQueryEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextWildcardPrefixAndPostfixQueryWithNoResults

      public void addFreeTextWildcardPrefixAndPostfixQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextPhraseQuery

      public void addFreeTextPhraseQuery() throws Exception
      Throws:
      Exception
    • addFreeTextPhraseQueryWithExactMatch

      public void addFreeTextPhraseQueryWithExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextPhraseQueryWithFieldEscaping

      public void addFreeTextPhraseQueryWithFieldEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextPhraseQueryWithQueryEscaping

      public void addFreeTextPhraseQueryWithQueryEscaping() throws Exception
      Throws:
      Exception
    • addFreeTextPhraseQueryWithNoResults

      public void addFreeTextPhraseQueryWithNoResults() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithReservedWords

      public void addFreeTextQueryWithReservedWords() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithReservedWordsAndExactMatch

      public void addFreeTextQueryWithReservedWordsAndExactMatch() throws Exception
      Throws:
      Exception
    • addFreeTextQueryWithReservedWordsWithResults

      public void addFreeTextQueryWithReservedWordsWithResults() throws Exception
      Throws:
      Exception
    • assertProductCode

      protected void assertProductCode(String expectedProductCode, Document document)