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

Nick Shanin commented on SOLR-5376:
-----------------------------------

>From code reading against apache/main b73f03976fa, 
>solr/core/src/java/org/apache/solr/request/SimpleFacets.java:766-770 switches 
>FCS to FC for multi-valued fields, with the comment "FCS can't deal with multi 
>token fields". The fallback is a designed rule inside selectFacetMethod 
>(solr/core/src/java/org/apache/solr/request/SimpleFacets.java:718-773), not an 
>unintended change. Can this be closed as not a bug, with the FC fallback as 
>the intended behaviour?

🤖 AI-generated 🤖

> if I ask for facet.method=fcs but the field is multiValued, I should get an 
> error back
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-5376
>                 URL: https://issues.apache.org/jira/browse/SOLR-5376
>             Project: Solr
>          Issue Type: Bug
>          Components: faceting
>            Reporter: Michael McCandless
>            Priority: Major
>
> I'm trying to test Solr faceting, and I had a mis-configuration where my 
> field was multiValued.
> I then tried to use facet.method=fcs, but apparently this is silently changed 
> to fc when the field is multiValued.
> Not sure if this is really "by design" but I found it very trappy... I think 
> it would be better if I got an error saying "fcs" is not possible since the 
> field is multiValued.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to