struct

CrigPostgres::SearchResult

Inherits Struct < Value < Object

Search result from PostgreSQL query

Constructors

new(id : UUID, document : JSON::Any, distance : Float64)
Source

Instance methods

distance
Source
document
Source
to_result(type : T.class) : Tuple(Float64, String, T) forall T
Source