Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Xerp::Query::QueryOptions
Inherits
Struct
<
Value
<
Object
Options for running a query.
Constructors
new
(top_k :
Int32
= 20, explain :
Bool
= false, ancestry :
Bool
= true, file_filter :
Regex
|
Nil
= nil, file_type_filter :
String
|
Nil
= nil, max_snippet_lines :
Int32
= 24, context_lines :
Int32
= 2)
Source
Instance methods
ancestry
Source
context_lines
Source
explain
Source
file_filter
Source
file_type_filter
Source
max_snippet_lines
Source
top_k
Source