(::String) — The content of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.
#content=
defcontent=(value)->::String
Parameter
value (::String) — The content of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.
Returns
(::String) — The content of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.
#id
defid()->::String
Returns
(::String) — The unique ID to represent the record.
#id=
defid=(value)->::String
Parameter
value (::String) — The unique ID to represent the record.
Returns
(::String) — The unique ID to represent the record.
#score
defscore()->::Float
Returns
(::Float) — The score of this record based on the given query and selected model.
#score=
defscore=(value)->::Float
Parameter
value (::Float) — The score of this record based on the given query and selected model.
Returns
(::Float) — The score of this record based on the given query and selected model.
#title
deftitle()->::String
Returns
(::String) — The title of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.
#title=
deftitle=(value)->::String
Parameter
value (::String) — The title of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.
Returns
(::String) — The title of the record. Empty by default.
At least one of
title or
content should
be set otherwise an INVALID_ARGUMENT error is thrown.