Improves ordering of search results
Modifies documents.search to return a context snippet and search ranking Displays context snipped on search results screen
This commit is contained in:
@@ -78,3 +78,9 @@ export type ApiKey = {
|
||||
name: string,
|
||||
secret: string,
|
||||
};
|
||||
|
||||
export type SearchResult = {
|
||||
ranking: number,
|
||||
context: string,
|
||||
document: Document,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user