webservice-solr
webservice-solr copied to clipboard
Adding Solr stats to Response
This is a small addition to return in the response the stats if you have asked for them with &stats=true&stats.field=foo.
Thanks for the changes.
Before I can merge this, the docs need to be updated to tell the user how to use this feature, or at the very least that the feature exists.
Ok I'll add something to explain the request that gives you the stats. Where would you prefer it goes? On 15 Jan 2015 14:38, "Andy Lester" [email protected] wrote:
Thanks for the changes.
Before I can merge this, the docs need to be updated to tell the user how to use this feature, or at the very least that the feature exists.
— Reply to this email directly or view it on GitHub https://github.com/bricas/webservice-solr/pull/28#issuecomment-70094022.
Somewhere in W::S::Response, I'd think. There's no accessor for it?
I have now added a little pod for the stats in response (I think). I shall take a look at how to put requesting stats into the query side also for another pull request at a later date.