You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/09/11 17:16:13 UTC

[Solr Wiki] Update of "StatsComponent" by GrantIngersoll

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/StatsComponent

------------------------------------------------------------------------------
  </lst>
  }}}
  
+ == Notes ==
+   
- == Notes on Faceting ==
- 
-  * Currently, faceting only works on single-value fields.  It will not work for multi-valued fields.  
-  * the facet field can be selectively applied.  That is if you want stats on field "A" and "B", you can facet a on "X" and B on "Y" using &stats.field=A&f.A.stats.facet=X&stats.field=B&f.B.stats.facet=Y
+  * The facet field can be selectively applied.  That is if you want stats on field "A" and "B", you can facet a on "X" and B on "Y" using &stats.field=A&f.A.stats.facet=X&stats.field=B&f.B.stats.facet=Y
   * /!\ Warning, as implemented, all facet results are returned, be careful what fields you ask for!
+  * Multi-valued fields and facets may be slow.
+  * Multi-value fields rely on UnInvertedField.java for implementation.  This is like a !FieldCache, so be aware of your memory footprint. 
  
  
  == Results ==