Class QueryProcessingConfiguration


  • public class QueryProcessingConfiguration
    extends Object
    • Constructor Detail

      • QueryProcessingConfiguration

        public QueryProcessingConfiguration()
    • Method Detail

      • 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 -
        Returns:
        config again for fluent access
      • 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 -
        Returns:
        config again for fluent access