Class Document

java.lang.Object
io.quarkus.redis.datasource.search.Document

public class Document extends Object
Represents a document containing in the response of a ft.search command.
  • Constructor Details

  • Method Details

    • key

      public String key()
      Returns:
      the document key
    • score

      public double score()
      Returns:
      the score, 0.0 if not requested
    • properties

      public Map<String,Document.Property> properties()
      Returns:
      the list of properties of the document
    • property

      public Document.Property property(String name)
      Gets a specific property from the document
      Parameters:
      name - the name, must not be null
      Returns:
      the property, null if not found
    • payload

      public io.vertx.mutiny.redis.client.Response payload()
      Returns:
      the payload