webservice-solr icon indicating copy to clipboard operation
webservice-solr copied to clipboard

Adding Solr stats to Response

Open lancew opened this issue 10 years ago • 4 comments

This is a small addition to return in the response the stats if you have asked for them with &stats=true&stats.field=foo.

lancew avatar Jan 09 '15 22:01 lancew

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.

petdance avatar Jan 15 '15 14:01 petdance

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.

lancew avatar Jan 15 '15 19:01 lancew

Somewhere in W::S::Response, I'd think. There's no accessor for it?

petdance avatar Jan 15 '15 19:01 petdance

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.

lancew avatar Jan 21 '15 22:01 lancew