Class Summary


  • public class Summary
    extends Object
    Originally from org.apache.nutch.searcher.Summary v 0.7 (Revision: 179640)

    A document summary dynamically generated to match a query.

    Since:
    8.0
    • Constructor Detail

      • Summary

        public Summary()
        Constructs an empty Summary.
    • Method Detail

      • add

        public void add​(Summary.Fragment fragment)
        Adds a fragment to a summary.
      • getFragments

        public Summary.Fragment[] getFragments()
        Returns an array of all of this summary's fragments.
      • toString

        public String toString()
        Returns an HTML representation of this fragment.
        Overrides:
        toString in class Object