class

Xerp::Query::Engine

Inherits Reference < Object

Main query engine that coordinates the query pipeline.

Constructors

new(config : Config)
Source

Instance methods

run(query_text : String, opts : QueryOptions = QueryOptions.new) : QueryResponse

Runs a query and returns results.

Source
search(query : String, top_k : Int32 = 20) : Array(QueryResult)

Convenience method for simple queries.

Source