Class DYFIIndexerModule

    • Constructor Detail

      • DYFIIndexerModule

        public DYFIIndexerModule()
    • Method Detail

      • getProductSummary

        public ProductSummary getProductSummary​(Product product)
                                         throws java.lang.Exception
        Description copied from class: DefaultIndexerModule
        Create a ProductSummary from a Product. Uses the ProductSummary(Product) constructor, which copies product information. Checks whether product is within its authoritative region, and if so boosts preferredWeight by AUTHORITATIVE_WEIGHT.
        Specified by:
        getProductSummary in interface IndexerModule
        Overrides:
        getProductSummary in class DefaultIndexerModule
        Parameters:
        product - the product to summarize.
        Returns:
        ProductSummary for Product object.
        Throws:
        java.lang.Exception - if error occurs