Class CmsLuceneFieldConfiguration

    • Method Detail

      • getAnalyzer

        public org.apache.lucene.analysis.Analyzer getAnalyzer​(org.apache.lucene.analysis.Analyzer analyzer)
        Returns an analyzer that wraps the given base analyzer with the analyzers of this individual field configuration.

        Parameters:
        analyzer - the base analyzer to wrap
        Returns:
        an analyzer that wraps the given base analyzer with the analyzers of this individual field configuration
      • getExcerptFieldNames

        public java.util.List<java.lang.String> getExcerptFieldNames()
        Returns a list of all field names (Strings) that are used in generating the search excerpt.

        Returns:
        a list of all field names (Strings) that are used in generating the search excerpt
      • getExcerptFields

        public java.util.Set<java.lang.String> getExcerptFields()
        Returns the field names used for the excerpt generation.

        Returns:
        the field names used for the excerpt generation
      • getLuceneFields

        public java.util.List<CmsLuceneFieldgetLuceneFields()
        Returns a list of the concrete Lucene search fields.

        Returns:
        a list of lucene search fields
      • getReturnFields

        public java.util.Set<java.lang.String> getReturnFields()
        Returns the field names used for a regular result.

        Returns:
        the field names used for a regular result