Class: Xberg::RerankedDocument
- Inherits:
-
Object
- Object
- Xberg::RerankedDocument
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#document ⇒ String
readonly
Returns the value of attribute document.
-
#index ⇒ Integer
readonly
Returns the value of attribute index.
-
#score ⇒ Float
readonly
Returns the value of attribute score.
Instance Method Summary collapse
-
#initialize ⇒ RerankedDocument
constructor
A new instance of RerankedDocument.
Constructor Details
#initialize ⇒ RerankedDocument
Returns a new instance of RerankedDocument.
1779 |
# File 'sig/types.rbs', line 1779
def initialize: (index: Integer, score: Float, document: String) -> void
|
Instance Attribute Details
#document ⇒ String (readonly)
Returns the value of attribute document.
1777 1778 1779 |
# File 'sig/types.rbs', line 1777 def document @document end |
#index ⇒ Integer (readonly)
Returns the value of attribute index.
1775 1776 1777 |
# File 'sig/types.rbs', line 1775 def index @index end |
#score ⇒ Float (readonly)
Returns the value of attribute score.
1776 1777 1778 |
# File 'sig/types.rbs', line 1776 def score @score end |