ravendb
Version:
RavenDB client for Node.js
18 lines • 612 B
TypeScript
import { QueryResultHighlightings } from "../GenericQueryResult.js";
/**
* Query highlightings for the documents.
*/
export declare class Highlightings {
private _highlightings;
private _fieldName;
constructor(fieldName: string);
get fieldName(): string;
get resultIndents(): string[];
/**
* @param key The document id, or the map/reduce key field.
* @return Returns the list of document's field highlighting fragments.
*/
getFragments(key: string): string[];
update(highlightings: QueryResultHighlightings): void;
}
//# sourceMappingURL=Hightlightings.d.ts.map