Schema for a row of the result of a query search operation.

interface SearchResultRow {
    doc?: Document;
    fields: JsonObject;
    highlights?: JsonObject;
    id: string;
}

Properties

doc?: Document

Schema for a document.

fields: JsonObject

Schema for the fields returned by a query search operation, a map of field name to value.

highlights?: JsonObject

Returns the context in which a search term was mentioned so that you can display more emphasized results to a user.

id: string

Schema for a document ID.

Generated using TypeDoc