DocSearchHit Type — react Architecture
Architecture documentation for the DocSearchHit type/interface in algolia.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 38eb85ae_18f3_1e20_5782_fef14af03a33["DocSearchHit"] e06121eb_f5fa_fef4_9520_4641dc8cea88["algolia.ts"] 38eb85ae_18f3_1e20_5782_fef14af03a33 -->|defined in| e06121eb_f5fa_fef4_9520_4641dc8cea88 style 38eb85ae_18f3_1e20_5782_fef14af03a33 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/react-mcp-server/src/types/algolia.ts lines 53–96
export declare type DocSearchHit = {
objectID: string;
content: string | null;
url: string;
url_without_anchor: string;
type: ContentType;
anchor: string | null;
hierarchy: {
lvl0: string;
lvl1: string;
lvl2: string | null;
lvl3: string | null;
lvl4: string | null;
lvl5: string | null;
lvl6: string | null;
};
_highlightResult: DocSearchHitHighlightResult;
_snippetResult: DocSearchHitSnippetResult;
_rankingInfo?: {
promoted: boolean;
nbTypos: number;
firstMatchedWord: number;
proximityDistance?: number;
geoDistance: number;
geoPrecision?: number;
nbExactWords: number;
words: number;
filters: number;
userScore: number;
matchedGeoLocation?: {
lat: number;
lng: number;
distance: number;
};
};
_distinctSeqID?: number;
__autocomplete_indexName?: string;
__autocomplete_queryID?: string;
__autocomplete_algoliaCredentials?: {
appId: string;
apiKey: string;
};
__autocomplete_id?: number;
};
Source
Frequently Asked Questions
What is the DocSearchHit type?
DocSearchHit is a type/interface in the react codebase, defined in compiler/packages/react-mcp-server/src/types/algolia.ts.
Where is DocSearchHit defined?
DocSearchHit is defined in compiler/packages/react-mcp-server/src/types/algolia.ts at line 53.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free