# facets-instantsearch

[InstantSearch](https://github.com/algolia/instantsearch) adapter for pagefind.

## TODO

- add tests
  - [SearchRequestAdpater.test.js](https://github.com/typesense/typesense-instantsearch-adapter/blob/master/test/SearchRequestAdpater.test.js)
  - [Add search parameters with JSON](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/rules-query-parameters/)
  - [numericFilters](https://www.algolia.com/doc/api-reference/api-parameters/numericFilters/)
  - [facetFilters](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/)
  - [filters](https://www.algolia.com/doc/api-reference/api-parameters/filters/)
- update readme
  - [instantsearch-itemsjs-adapter](https://github.com/unplatform-io/instantsearch-itemsjs-adapter/blob/main/README.md) is a good example
- implement `processingTimeMS`
