Class GermanSearchTermProcessor

    • Constructor Detail

      • GermanSearchTermProcessor

        public GermanSearchTermProcessor()
      • GermanSearchTermProcessor

        public GermanSearchTermProcessor​(Map<String,​String> searchTerms)
    • Method Detail

      • removeUmlauts

        public String removeUmlauts​(String term)
        replace German special alphabet.
        Parameters:
        term - the term
        Returns:
        the term without german Umlaut characters
      • cleanSearchWord

        public String cleanSearchWord​(String term)
        remove special characters from the search term.
        Parameters:
        term -
        Returns:
        the cleaned search term
      • getAnalyzer

        public org.apache.lucene.analysis.Analyzer getAnalyzer()
        Description copied from interface: SearchTermProcessor
        Gets the Analyzer used while processing
        Specified by:
        getAnalyzer in interface SearchTermProcessor
        Returns:
        the Analyzer