Class ResultHit

java.lang.Object
de.cxp.ocs.model.result.ResultHit

public class ResultHit extends Object
  • Field Details

    • index

      public String index
      the index name where this hit is coming from.
    • document

      public Document document
      The found document.
    • matchedQueries

      public String[] matchedQueries
      Optional: Which parts of the query matched that document. Mainly used for debugging / search transparency.
    • metaData

      public Map<String,Object> metaData
      Optional: Arbitrary meta data for debug information or other insights about the result hit, i.e. the score or variant picking details.
  • Constructor Details

    • ResultHit

      public ResultHit()
  • Method Details