All Implemented Interfaces:
Securable, TransactionalObject, Serializable, Comparable<Hit>

public class Hit extends Document implements Comparable<Hit>
Search result
Since:
5.2
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • Hit

      public Hit()
  • Method Details

    • getScore

      public int getScore()
    • setScore

      public void setScore(int score)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • getSummary

      public String getSummary()
    • setSummary

      public void setSummary(String summary)
    • compareTo

      public int compareTo(Hit other)
      Specified by:
      compareTo in interface Comparable<Hit>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractDocument
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractDocument