search-client
Version:
Javascript library for executing searches in the Haive search-index via the SearchManager REST interface.
26 lines (25 loc) • 628 B
TypeScript
import { IGroup } from "./IGroup";
/**
* Represents categories returned from the search-engine, as delivered from the categorize() and allCategories() calls.
*/
export interface ICategories {
/**
* Always only 1
*/
$id?: number;
/**
* A list of top-level groups.
*/
groups: IGroup[];
/**
* Indicates whether the matchCount value is estimated or exact.
*/
isEstimatedCount: boolean;
/**
* The number of matches in total for the returned categories.
*/
matchCount: number;
extendedProperties: any[];
statusCode: number;
errorMessage: string;
}