Class QueryProcessingConfiguration

java.lang.Object
de.cxp.ocs.config.QueryProcessingConfiguration

public class QueryProcessingConfiguration extends Object
  • Constructor Details

    • QueryProcessingConfiguration

      public QueryProcessingConfiguration()
  • Method Details

    • setUserQueryPreprocessors

      public QueryProcessingConfiguration setUserQueryPreprocessors(List<String> userQueryPreprocessors)

      List of custom query preprocessors (their canonical or simple class name) to be activated for the usage at the associated tenant.

      Processors that can't be found, will be ignored (with some warning log message).

      Parameters:
      userQueryPreprocessors - list of full canonical UserQueryPreprocessor implementation class names
      Returns:
      self
    • setUserQueryAnalyzer

      public QueryProcessingConfiguration setUserQueryAnalyzer(String userQueryAnalyzer)

      Optional classname (canonical or simple) of the userQueryAnalyzer to use.

      Besides the standard available analyzers (WhitespaceAnalyzer and WhitespaceWithShingles) there could also be custom analyzers.

      If nothing is defined here or the specified one is not found, then the default analyzer (WhitespaceAnalyzer) is used.

      Parameters:
      userQueryAnalyzer - full canonical UserQueryAnalyzer implementation class name
      Returns:
      self