itemsapi / itemsjs

Extremely fast faceted search engine in JavaScript - lightweight, flexible, and simple to use

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating to v2 results in doc count of 1

domoritz opened this issue · comments

I am trying to switch to v2 but in https://github.com/domoritz/domoritz.github.io/blob/b47cdbed49dfcd4df2fb8459c8669b78909b2744/_includes/pubfilter.js#L154, the aggregations on a search result always have doc count 1.

Screen Shot 2021-03-31 at 22 18 17

Did I miss a step when updating to v2?

Everything should work out of the box with upgrading to v2.0. It's compatible with v1.0.

There was a bug when you provide you own non integer "id" but now it is fixed with itemsjs@2.0.2

Thank you for the quick fix. The new version looks great. It's fast and I can enable full text search.