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

ASF subversion and git services commented on SOLR-15191:
--------------------------------------------------------

Commit 988a16fe95d01125392a29365818f94bce0f98df in lucene-solr's branch 
refs/heads/master from Thomas Wöckinger
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=988a16f ]

SOLR-15191: Fix JSON faceting on EnumFieldType (#2426)

* Fix JSON Faceting on EnumFieldType if allBuckets, numBuckets or missing is 
set.
* Enhance hash method of JSON faceting to support EnumFieldType and perhaps 
some other/custom field types

Co-authored-by: Thomas Wöckinger <t...@silbergrau.com>
Co-authored-by: David Smiley <dsmi...@apache.org>

> Faceting on EnumFieldType does not work if allBuckets, numBuckets or missing 
> is set
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-15191
>                 URL: https://issues.apache.org/jira/browse/SOLR-15191
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module, FacetComponent, faceting, search, 
> streaming expressions
>    Affects Versions: 8.7, 8.8, 8.8.1
>            Reporter: Thomas Wöckinger
>            Priority: Major
>              Labels: easy-fix, pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Due to Solr-14514 FacetFieldProcessorByEnumTermsStream is not used if 
> allBuckets, numBuckets or missing parma is true.
> As fallback FacetFieldProcessorByHashDV is used which 
> FacetRangeProcessor.getNumericCalc(sf) on the field. EnumFileType is not 
> handled currently, so a SolrException is thrown with BAD_REQUEST and 
> 'Expected numeric field type'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to