lucidworks

Solr - Aggregate Term Frequency by Group

断了今生、忘了曾经 提交于 2020-01-05 05:39:07
问题 Let's say I have the following set of grouped websites crawled and indexed in Solr (latest) : { "id":"1", "domain": "http://www.category1website1.com", "domainGroup": "Group 1" },{ "id":"2", "domain": "http://www.category1website2.com", "domainGroup": "Group 1" },{ "id":"3", "domain": "http://www.category2website1.com", "domainGroup": "Group 2" } I'm looking for a result set that will give me the term frequency in each individual domain but also the aggregated term frequency of that search