[ https://issues.apache.org/jira/browse/SOLR-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508335#comment-17508335 ]
Tim Owen commented on SOLR-7830: -------------------------------- Hi, yes I did test out porting our topdocs implementation out of core solr into a plugin jar, and it did at least build. This was against 8.x solr-core. But that's as far as I got, we're not actually using that in production, we're still using the patch applied to solr itself (because we also use 7.7 in prod and I need it there too). So I think it will work as a plugin, and you'd just need to declare it as a function in your solrconfig.xml with the name `agg_topdocs` and it should just work. I'll try and upload my plugin TopDocsAgg.java code tomorrow. > topdocs facet function > ---------------------- > > Key: SOLR-7830 > URL: https://issues.apache.org/jira/browse/SOLR-7830 > Project: Solr > Issue Type: New Feature > Components: Facet Module > Reporter: Yonik Seeley > Priority: Major > Attachments: ALT-SOLR-7830.patch, SOLR-7830.patch, SOLR-7830.patch > > > A topdocs() facet function would return the top N documents per facet bucket. > This would be a big step toward unifying grouping and the new facet module. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org