Home / Class/ DocSearchHit Class — react Architecture

DocSearchHit Class — react Architecture

Architecture documentation for the DocSearchHit class in algolia.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  cf678a5e_6795_64f9_4379_a5e607307d67["DocSearchHit"]
  e06121eb_f5fa_fef4_9520_4641dc8cea88["algolia.ts"]
  cf678a5e_6795_64f9_4379_a5e607307d67 -->|defined in| e06121eb_f5fa_fef4_9520_4641dc8cea88

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;
};

Domain

Frequently Asked Questions

What is the DocSearchHit class?
DocSearchHit is a class 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