You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Bill Okara (Jira)" <ji...@apache.org> on 2023/05/27 22:09:00 UTC

[jira] [Updated] (SOLR-16828) Solr JSON Facet on multivalued enumFieldType not working

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

Bill Okara updated SOLR-16828:
------------------------------
    Attachment: traditional facet.png

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>          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="day_of_week" indexed="true" stored="false" docValues="true" useDocValuesAsStored="true" multiValued="true" />
> <field name="single_workday" type="day_of_week" indexed="true" stored="false" docValues="true" useDocValuesAsStored="true" />
> <fieldType name="day_of_week" class="solr.EnumFieldType" docValues="true" enumsConfig="enumsConfig.xml" enumName="day_of_week"/>
> {quote}
>  
> Traditional facet and JSON facet on {_}single-valued enum{_}, {_}*single_workday*{_}, always works.
> Traditional facet on {_}multi-valued enum{_}, {_}*multi-workdays*{_}, only works if "{*}_facet.method=enum_{*}"
>  
>  
> _*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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org