[ 
https://issues.apache.org/jira/browse/SOLR-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Okara updated SOLR-16828:
------------------------------
    Security:     (was: Public)

> Solr JSON Facet on multivalued enumFieldType not working
> --------------------------------------------------------
>
>                 Key: SOLR-16828
>                 URL: https://issues.apache.org/jira/browse/SOLR-16828
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 8.11.2
>         Environment: Solr 8.11.2, Java 8, linux
>            Reporter: Bill Okara
>            Priority: Minor
>         Attachments: JSON Facet test.png, traditional facet.png
>
>
> it seemed like Solr JSON facet on multivalued enumFieldType is not working. 
> Followings are the tests that I had done.
> Setup:
> Solr 8.11.2 SolrCould,
> {quote}<field name="multi_workdays" type="workday" indexed="true" 
> stored="false" docValues="true" useDocValuesAsStored="true" 
> multiValued="true" />
> <field name="single_workday" type="workday" indexed="true" stored="false" 
> docValues="true" useDocValuesAsStored="true" />
> <fieldType name="workday" class="solr.EnumFieldType" docValues="true" 
> enumsConfig="enumsConfig.xml" enumName="DayOfWeek"/>
> {quote}
>  
> Traditional facet and JSON facet on {_}single-valued enum{_}, 
> {_}*single_workday*{_}, always works.
> Traditional facet on {_}multi-valued enum{_}, {_}*multi-workdays*{_}, works 
> if "{*}_facet.method=enum_{*}"
> !traditional facet.png!
>  
> _*JSON facet*_ on multi-valued enum, multi-workdays, does NOT seem to work; 
> even with "method:enum". i.e. the {_}*buckets is always empty*{_}, like
> !JSON Facet test.png!



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

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

Reply via email to