You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by kannan rbk <ka...@gmail.com> on 2013/04/17 15:48:46 UTC
Doubts about solr stats component
Hi Team,
I am using solr for indexing data. I need some statistics information like
"max , min , stddev" from indexed data. I read about `SolrStatsComponent`
and I used this too.
I read this line on `apache_solr_4_cookbook.pdf`
"Please be careful when using this component on the multivalued fields as
it can be a
performance bottleneck."
**My Solr Query**
http://localhost:8080/solr/daycore/select?q=*:*&stats=true&stats.field=login_attempts&rows=0
Can I use this query?
Is it affect solr performance?
Regards ,
Bharathikannan R
Re: Doubts about solr stats component
Posted by Gopal Patwa <go...@gmail.com>.
please post field defination from solr schema.xml for
stats.field=login_attempts<http://localhost:8080/solr/daycore/select?q=*:*&stats=true&stats.field=login_attempts&rows=0>
,
it depends how you have defined stats field