Class ScannedDocument


  • public class ScannedDocument
    extends Object
    Contains the score and a field-value map of the underlying document returned by Lucene.
    Since:
    7.17
    • Constructor Detail

      • ScannedDocument

        public ScannedDocument​(float score,
                               Map<String,​String[]> fieldMap)
    • Method Detail

      • getScore

        public float getScore()
      • getFieldValue

        public String getFieldValue​(String name)
        Get the first value of the field
        Since:
        8.7.0