Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 1.7 KB

OUTPUT.md

File metadata and controls

53 lines (45 loc) · 1.7 KB

SearchOutput

Top-Level Fields

Field Type Description
ok boolean Success or failure
version string Output schema version
standard object Standard name and version
engine object Implementation name and version
query_id string Unique query identifier
timing object Timing information
sources array Sources searched
index object Index version info
query object Normalized query
count number Results in this response
total number Total matching results
results array Result objects
cursor string null
warnings array Non-fatal issues
errors array Fatal/partial errors

Timing Object

Field Type Description
total_ms number Total time
plan_ms number Query planning time
lookup_ms number Index lookup time
verify_ms number Verification time
sort_ms number Sorting time
serialize_ms number Serialization time

Result Object

Field Type Description
id string Unique result ID
source_id string Source identifier
type string Result type
locator object Location information
score number Deterministic score
match_fields array Fields that matched
fields object All indexed fields
meta object Metadata
version string null

Output Formats

  • JSON: Single SearchOutput object
  • NDJSON: Streaming - header line, result lines, footer line
  • Pretty: Human-readable terminal output
  • Minimal: Compact - ok, count, locators, cursor, errors