Class Document


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

    • Method Detail

      • key

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

        public double score()
        Returns:
        the score, 0.0 if not requested
      • 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