Appearance
@inferedge/moss / SearchResult
Interface: SearchResult
Search operation result.
Properties
matches
matches:
ScoredItem
[]
Array of items that match the search query, ordered by similarity score (highest first).
Each item includes its original data plus a similarity score indicating how well it matches the search query semantically.
metrics?
optional
metrics:SearchMetrics
Performance timing metrics for the search operation.
Only present when measurePerformance: true
is specified in the query options. Provides detailed timing information for performance analysis.
query
query:
string
The original search query text that was submitted.