struct

Xerp::Query::QueryResult

Inherits Struct < Value < Object

A single query result (one block).

Constructors

new(result_id : String, file_path : String, file_type : String, block_id : Int64, line_start : Int32, line_end : Int32, score : Float64, snippet : String, snippet_start : Int32, header_text : Nil | String = nil, hits : Nil | Array(Xerp::Query::HitInfo) = nil, warn : Nil | String = nil, ancestry : Nil | Array(Xerp::Query::AncestorInfo) = nil)
Source

Instance methods

ancestry
Source
block_id
Source
file_path
Source
file_type
Source
header_text
Source
hits
Source
line_count
Source
line_end
Source
line_start
Source
result_id
Source
score
Source
snippet
Source
snippet_start
Source
warn
Source