Hi Solr users!

 

Could any of you tell me how to do a facet count across several cores
excluding duplicates. Eg.

 

Core A:

Page 1

Id=a

Text=hello world

 

Page 2

Id=b

Text=hello again

 

Core B:

Page 1

Id=a

Text=Hej verden

 

Id=c

Text=Ny besked

 

Doing a facet count on core A gives me 2 elements. Doing a facet count on
core B gives me two element as well. Counting across both cores using shards
should return 3 elements when doing group.truncate on the element with Id=a.
This would work on a single core, but doing so on more than one core always
gives me a facet count = 4.

 

I've read the solr page
<http://wiki.apache.org/solr/FieldCollapsing#Known_Limitations>  saying 

Grouping is also supported for distributed searches from version <!>
<http://wiki.apache.org/solr/Solr3.5> Solr3.5 and from version <!>
<http://wiki.apache.org/solr/Solr4.0> Solr4.0. Currently group.truncate and
group.func are the only parameters that aren't supported for distributed
searches.

 

Is this because it's not possible to make this feature, or is it because
nobody needed it yet?

 

Thanks guys :)

 

Kind regards

Kenneth Vindum

 

Reply via email to