Class OpenSearchScoreFunctionFactory

    • Constructor Detail

      • OpenSearchScoreFunctionFactory

        public OpenSearchScoreFunctionFactory()
    • Method Detail

      • createContentTypeScoreFunction

        public ComposableScoreFunction createContentTypeScoreFunction()
        Description copied from interface: ScoreFunctionFactory
        Create a ComposableScoreFunction which boosts content relevancy by their type. Types may have different boosts, depending on Confluence's implementation.

        e.g. Pages, and blog posts may be prioritised over other content types like attachments.