Class WhitespaceAnalyzer

    • Constructor Detail

      • WhitespaceAnalyzer

        public WhitespaceAnalyzer()
        Creates a new WhitespaceAnalyzer with a maximum token length of 255 chars
      • WhitespaceAnalyzer

        public WhitespaceAnalyzer​(int maxTokenLength)
        Creates a new WhitespaceAnalyzer with a custom maximum token length
        Parameters:
        maxTokenLength - the maximum token length the analyzer will emit