You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2025/02/05 23:34:00 UTC

[jira] [Commented] (SOLR-17649) Multivalue facets on enum field type returns empty result when using JsonFacet API

    [ https://issues.apache.org/jira/browse/SOLR-17649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924310#comment-17924310 ] 

David Smiley commented on SOLR-17649:
-------------------------------------

Might you surmise how this regression came to be?

> Multivalue facets on enum field type returns empty result when using JsonFacet API
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-17649
>                 URL: https://issues.apache.org/jira/browse/SOLR-17649
>             Project: Solr
>          Issue Type: Bug
>          Components: Facet Module, FacetComponent, faceting
>    Affects Versions: 9.4, 9.5, 9.4.1, 9.6, 9.7, 9.6.1, 9.8
>            Reporter: Thomas Wöckinger
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When using JsonFacet API on a multivalued EnumFieldType with facet method 'enum' the {color:#232629}FacetFieldProcessorByArrayDV{color} will be used.
> At line 96 ({color:#232629}FacetFieldProcessorByArrayDV.java){color} there is a check about allBuckets or missing buckets, which simply skip collect process.
> So at the moment there is no support for Multivalue faceting on facets which are using FacetFieldProcessorByArrayDV facet processor for collecting facets.
> Tested this behavior from 9.4 onwards, this feature was working on the 8.x releases.
> Multivalue faceting on EnumFieldType should be supported again.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org