[
https://issues.apache.org/jira/browse/SOLR-7052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Beliy updated SOLR-7052:
------------------------
Description:
We have a grouping field which we defined as an integer; when we run a query
grouping on that field it works fine in a non-cloud configuration, but when we
try the same query in a SolrCloud configuration with multiple shards, we get
the following error:
Type mismatch: <fieldName> was indexed as NUMERIC
Schema:
{code:xml}
<dynamicField name="*_i" type="int" indexed="true" stored="true"
docValues="true"/>
{code}
Query:
{code}
q=*:*&group=true&group.field=<fieldName>&group.limit=1
{code}
was:
We have a grouping field which we defined as an integer; when we run a query
grouping on that field it works fine in a non-cloud configuration, but when we
try the same query in a SolrCloud configuration with multiple shards, we get
the following error:
Type mismatch: <fieldName> was indexed as NUMERIC
Schema:
{code:xml}
<dynamicField name="*_i" type="int" indexed="true" stored="true"
docValues="true"/>
{code}
Query:
q=*:*&group=true&group.field=<fieldName> &group.limit=1
> Grouping on int field with docValues in SolrCloud raises exception.
> -------------------------------------------------------------------
>
> Key: SOLR-7052
> URL: https://issues.apache.org/jira/browse/SOLR-7052
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.8.1
> Reporter: Beliy
>
> We have a grouping field which we defined as an integer; when we run a query
> grouping on that field it works fine in a non-cloud configuration, but when
> we try the same query in a SolrCloud configuration with multiple shards, we
> get the following error:
> Type mismatch: <fieldName> was indexed as NUMERIC
> Schema:
> {code:xml}
> <dynamicField name="*_i" type="int" indexed="true" stored="true"
> docValues="true"/>
> {code}
> Query:
> {code}
> q=*:*&group=true&group.field=<fieldName>&group.limit=1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]