Skip to content

Commit

Permalink
Merge pull request #631 from danielsvane/patch-1
Browse files Browse the repository at this point in the history
Document how to disable client side filtering
  • Loading branch information
oyejorge authored Oct 19, 2023
2 parents 1d98ac7 + 0e87bde commit c9e3c81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc_src/pages/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,12 @@ Weights can be given to each field to improve search results
searchField: [{field:'text',weight:2},{field:'text2',weight:0.5}]
```

To completely disable the client side filtering (if youre getting the search results from an external source), set the `searchField` to an empty array.

```js
searchField: []
```

</td>
<td><code>array</code></td>
<td><code>['text']</code></td>
Expand Down

0 comments on commit c9e3c81

Please sign in to comment.