Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
id
Source
to_result
(type :
T
.class) :
Tuple
(
Float64
,
String
,
T
) forall
T
Source