Querylight TS Demo

andHits

Intersects two hit lists and adds scores for matching documents.

Back to docs search

Reference Entry

andHits

API Reference · foundation · order 122

Intersects two hit lists and adds scores for matching documents.

Relevant APIs

andHits

Intersects two hit lists and adds scores for matching documents.

Declaration

function andHits(leftHits: Hits, rightHits: Hits): Hits

Signatures

```ts function andHits(leftHits: Hits, rightHits: Hits): Hits ``` Intersects two hit lists and adds scores for matching documents.

Parameters

- `leftHits: Hits` - `rightHits: Hits`