Open grtjn opened 6 years ago
@grtjn Please assign to me. I think there are some improvements to be made as well as charts have multiple calls and are slow for big datasets.
There should be one call per chart. It could potentially reuse facets from search, but the landing page is not showing search results, and facets wouldn't support co-occurrence charts.
But please, do go ahead. Consider this ticket yours (cannot assign it)..
Pull request that fixes the multiple calls:
Pull request that moves the chart functions to a separate service: https://github.com/marklogic-community/slush-marklogic-node/pull/552
Move code from landing control to charts service, and allow callback: