类 TermVectorsResponse.TermVector.Term

java.lang.Object
org.easysearch.client.core.TermVectorsResponse.TermVector.Term
封闭类:
TermVectorsResponse.TermVector

public static final class TermVectorsResponse.TermVector.Term
extends java.lang.Object
  • 构造器概要

    构造器
    构造器 说明
    Term​(java.lang.String term, int termFreq, java.lang.Integer docFreq, java.lang.Long totalTermFreq, java.lang.Float score, java.util.List<TermVectorsResponse.TermVector.Token> tokens)  
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object obj)  
    static TermVectorsResponse.TermVector.Term fromXContent​(org.easysearch.common.xcontent.XContentParser parser, java.lang.String term)  
    java.lang.Integer getDocFreq()
    Returns document frequency - the number of documents in the index that contain this term
    java.lang.Float getScore()
    Returns tf-idf score, if the request used some form of terms filtering
    java.lang.String getTerm()
    Returns the string representation of the term
    int getTermFreq()
    Returns term frequency - the number of times this term occurs in the current document
    java.util.List<TermVectorsResponse.TermVector.Token> getTokens()
    Returns a list of tokens for the term
    java.lang.Long getTotalTermFreq()
    Returns total term frequency - the number of times this term occurs across all documents
    int hashCode()  

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • Term

      public Term​(java.lang.String term, int termFreq, java.lang.Integer docFreq, java.lang.Long totalTermFreq, java.lang.Float score, java.util.List<TermVectorsResponse.TermVector.Token> tokens)
  • 方法详细资料

    • fromXContent

      public static TermVectorsResponse.TermVector.Term fromXContent​(org.easysearch.common.xcontent.XContentParser parser, java.lang.String term)
    • getTerm

      public java.lang.String getTerm()
      Returns the string representation of the term
    • getTermFreq

      public int getTermFreq()
      Returns term frequency - the number of times this term occurs in the current document
    • getDocFreq

      public java.lang.Integer getDocFreq()
      Returns document frequency - the number of documents in the index that contain this term
    • getTotalTermFreq

      public java.lang.Long getTotalTermFreq()
      Returns total term frequency - the number of times this term occurs across all documents
    • getScore

      public java.lang.Float getScore()
      Returns tf-idf score, if the request used some form of terms filtering
    • getTokens

      public java.util.List<TermVectorsResponse.TermVector.Token> getTokens()
      Returns a list of tokens for the term
    • equals

      public boolean equals​(java.lang.Object obj)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object