Class MetaField


  • public class MetaField
    extends Object
    Represents the _meta field on the response document
    • Constructor Detail

      • MetaField

        public MetaField()
    • Method Detail

      • getScore

        public BigDecimal getScore()
        The calculated relevance score for this document
        Returns:
        the score
      • getEngine

        public String getEngine()
        The name of the engine this document belongs to
        Returns:
        the engine name
      • getId

        public String getId()
        The document id
        Returns:
        the document id
      • setScore

        public MetaField setScore​(BigDecimal score)
        The calculated relevance score for this document
        Parameters:
        score - the score
        Returns:
        this.
      • setEngine

        public MetaField setEngine​(String engine)
        The name of the engine this document belongs to
        Parameters:
        engine - the engine name
        Returns:
        this.
      • setId

        public MetaField setId​(String id)
        The document id
        Parameters:
        id - the document id
        Returns:
        this.