Statistics: Count/Min/Max

If you want to provide some basic statistic figures on your application, such as:

Requested URL

http://localhost:8983/solr/films/select?q=happy&stats=true&stats.field=directed_by&rows=0&indent=true

Details

It returns which “directed_by” with max and min appearance of query “happy”.

Parameters Values Details
q happy Query text
stats true Enable statistic function
stats.field directed_by Statistic field based on the query text

 

Please rate this