<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Facet counts by grouped result</title>
		<link>http://www.datastax.com/support-forums/topic/facet-counts-by-grouped-result</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 21:48:25 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/facet-counts-by-grouped-result" rel="self" type="application/rss+xml" />

		<item>
			<title>hliu on "Facet counts by grouped result"</title>
			<link>http://www.datastax.com/support-forums/topic/facet-counts-by-grouped-result#post-6423</link>
			<pubDate>Wed, 12 Sep 2012 01:16:34 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">6423@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Here is an example for my question:&#60;/p&#62;
&#60;p&#62;There are two indexed items with the same parent:&#60;br /&#62;
Item1:&#60;br /&#62;
&#38;lt;field name=&#34;id&#34;&#38;gt;113&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;parentid&#34;&#38;gt;100&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;color&#34;&#38;gt;Blue&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;size&#34;&#38;gt;Small&#38;lt;/field&#38;gt;&#60;/p&#62;
&#60;p&#62;Item2:&#60;br /&#62;
&#38;lt;field name=&#34;id&#34;&#38;gt;114&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;parentid&#34;&#38;gt;100&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;color&#34;&#38;gt;Blue&#38;lt;/field&#38;gt;&#60;br /&#62;
&#38;lt;field name=&#34;size&#34;&#38;gt;Large&#38;lt;/field&#38;gt;&#60;/p&#62;
&#60;p&#62;When faceting on &#34;color&#34;, we want items with the same parent to be counted only once. Looks like this was implemented for Solr 4.0 through feature SOLR-2898. Using the latest SOLR 4.0 - Beta, the following query handles the requirement properly and returns a facet count of 1:&#60;/p&#62;
&#60;p&#62;select?q=*:*&#38;amp;wt=xml&#38;amp;indent=true&#38;amp;facet=true&#38;amp;facet.field=color&#38;amp;group=true&#38;amp;group.facet=true&#38;amp;group.field=parentid&#60;/p&#62;
&#60;p&#62;However, with the Solr in DSE 2.0, the same query returns a facet count of 2. &#60;/p&#62;
&#60;p&#62;Is the feature SOLR-2898 available in DSE 2.0 or DSE 2.1? Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hliu on "Facet counts by grouped result"</title>
			<link>http://www.datastax.com/support-forums/topic/facet-counts-by-grouped-result#post-6205</link>
			<pubDate>Thu, 30 Aug 2012 22:37:01 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">6205@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Is facet counts by grouped result supported in DSE2.0? More specifically, during faceting, could the facet counts be done by groups instead of individual items? Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
