Typesense · Schema

SearchResultHit

Full-Text SearchOpen-SourceSearch EnginesTypo ToleranceVector Search

Properties

Name Type Description
document object The matched document.
highlights array Array of field highlights with matched tokens.
highlight object Structured highlight object with nested field support.
text_match integer Text match score for the hit.
text_match_info object Detailed text match scoring breakdown.
geo_distance_meters object Distance in meters from the search geo point.
vector_distance number Distance from the query vector for vector searches.
hybrid_search_info object Information about hybrid keyword and vector search scoring.
View JSON Schema on GitHub

JSON Schema

typesense-searchresulthit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchResultHit",
  "title": "SearchResultHit",
  "type": "object",
  "properties": {
    "document": {
      "type": "object",
      "description": "The matched document."
    },
    "highlights": {
      "type": "array",
      "description": "Array of field highlights with matched tokens.",
      "items": {
        "$ref": "#/components/schemas/SearchHighlight"
      }
    },
    "highlight": {
      "type": "object",
      "description": "Structured highlight object with nested field support."
    },
    "text_match": {
      "type": "integer",
      "format": "int64",
      "description": "Text match score for the hit."
    },
    "text_match_info": {
      "type": "object",
      "description": "Detailed text match scoring breakdown."
    },
    "geo_distance_meters": {
      "type": "object",
      "description": "Distance in meters from the search geo point."
    },
    "vector_distance": {
      "type": "number",
      "format": "float",
      "description": "Distance from the query vector for vector searches."
    },
    "hybrid_search_info": {
      "type": "object",
      "description": "Information about hybrid keyword and vector search scoring."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/typesense-searchresulthit"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.