Class ScannedDocument

java.lang.Object
com.atlassian.confluence.search.v2.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 Details

    • ScannedDocument

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

    • getScore

      public float getScore()
    • getFieldMap

      public Map<String,String[]> getFieldMap()
    • getFieldValue

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