You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2016/08/11 17:29:20 UTC

[jira] [Updated] (SOLR-9409) CollapseQParser missleading error on TextField: 64 bit numeric collapse fields are not supported"

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

Hoss Man updated SOLR-9409:
---------------------------
    Description: 
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}

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org