@terascope/types / elasticsearch-interfaces / SearchResult
Interface: SearchResult<TDocument>
Type parameters
Type parameter | Value |
---|---|
TDocument | Record <string , any > |
Properties
_id
_id:
string
Source
elasticsearch-interfaces.ts:322
_index
_index:
string
Source
elasticsearch-interfaces.ts:319
_primary_term?
optional
_primary_term:number
Source
elasticsearch-interfaces.ts:323
_routing?
optional
_routing:string
Source
elasticsearch-interfaces.ts:324
_score?
optional
_score:number
Source
elasticsearch-interfaces.ts:321
_seq_no?
optional
_seq_no:number
Source
elasticsearch-interfaces.ts:325
_source?
optional
_source:TDocument
Source
elasticsearch-interfaces.ts:326
_type?
optional
_type:string
Source
elasticsearch-interfaces.ts:320
_version?
optional
_version:number
Source
elasticsearch-interfaces.ts:327
fields?
optional
fields:Record
<string
,any
>
Source
elasticsearch-interfaces.ts:317
found
found:
boolean