# RecordSearchHit

Type: object

Schema: [RecordSearchHit](https://docs.searchsoftware.nl/api/models/recordsearchhit.md)

- `id` (required)
  Type: string
  
  Public SqID stored in the index fields.
  
  Example:
  
  ```json
  "encoded-record-sqid"
  ```

- `score` (required)
  Type: number, float
  
  Example:
  
  ```json
  0.75
  ```

- `attributes` (required)
  Type: object
  
  The record's indexed attributes (the same names you filter on). Populated multivalue attributes are arrays of strings; unset and empty multivalue attributes are omitted.
  
  Additional properties: 
    Type: unknown

- `distance_km` (optional)
  Type: number, float
  
  Only with near: kilometres from its centre, one decimal.
  
  Example:
  
  ```json
  3.4
  ```