{hitCount} not display on HitsStats | ElasticSearch 7
See original GitHub issueHello,
I got this bug :
When I change
bemBlocks: this.bemBlocks,
translate: this.translate,
timeTaken: timeTaken,
hitsCount: hitsCount,
resultsFoundLabel: this.translate("hitstats.results_found", {
timeTaken: timeTaken,
hitCount: hitsCount
})
For
bemBlocks: this.bemBlocks,
translate: this.translate,
timeTaken: timeTaken,
hitsCount: hitsCount,
resultsFoundLabel: this.translate("hitstats.results_found", {
timeTaken: timeTaken,
hitCount: hitsCount.value
})
On HitsStats.tsx line : 75
My HitCount Object :
I opened a pull request #697 , but it seems that your test is not running with elastic search 7
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Do not compute hit counts by default #33028 - GitHub
Not returning a hit count at all is problematic for traditional search UIs with pagination: say that you want to display up to...
Read more >Having problems with hit count from OR filter - Elastic Discuss
I have the following aggregation which show all the count by values for a particular field values.
Read more >Unable to Connect to Elasticsearch using Searchkit
Try to set index and type const searchkit = new SearchkitManager("http://localhost:9200/product-index/product");.
Read more >searchkit/searchkit - Gitter
When i search, the results dont want be markedup (yellow) like in the ... knew why HitsStats components is rendering {hitCount} instead of...
Read more >api documentation for searchkit (v0.10.1) - GitHub Pages
NODE_ENV?a["default"](void 0===o,'You should not "return" in a transition ... (13),s=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,p=/^0o[0-7]+$/i ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks. The following addition to my config was made and the hit count now appears.
const host = “http://localhost:9200/” const searchkit = new SearchkitManager(host, { searchUrlPath : “_search?rest_total_hits_as_int=true”})
fixed in v2.4.1