[ https://issues.apache.org/jira/browse/SOLR-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875550#comment-16875550 ]
ASF subversion and git services commented on SOLR-9409: ------------------------------------------------------- Commit 6c83e39dcced18a247449166d454eb18b59e00b9 in lucene-solr's branch refs/heads/branch_8x from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=6c83e39 ] SOLR-9409: improve error message on unsupported types in collapsing * Improve error message when collapsing is not supported on given fieldtype * Return 400 error code when unsupported value are passed for max,min or in case of syntax error > CollapseQParser missleading error on TextField: 64 bit numeric collapse > fields are not supported" > ------------------------------------------------------------------------------------------------- > > Key: SOLR-9409 > URL: https://issues.apache.org/jira/browse/SOLR-9409 > Project: Solr > Issue Type: Bug > Reporter: Hoss Man > Priority: Major > Attachments: SOLR-9409.patch, SOLR-9409.patch > > > An IRC user asked about the error "64 bit numeric collapse fields are not > supported" when doing a query like this where subTitle is a TextField... > {noformat} > fq={!collapse+field%3DsubTitle} > {noformat} > The code in question looks roughly like this... > {code} > if (collapseFieldType instanceof StrField) { > ... > } else if (collapseFieldType instanceof TrieIntField || > collapseFieldType instanceof TrieFloatField) { > ... > } else { > throw new IOException("64 bit numeric collapse fields are not supported"); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org