You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2019/04/28 17:34:00 UTC
[jira] [Resolved] (SOLR-4647) Grouping is broken on docvalues-only
fields
[ https://issues.apache.org/jira/browse/SOLR-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ishan Chattopadhyaya resolved SOLR-4647.
----------------------------------------
Resolution: Duplicate
> Grouping is broken on docvalues-only fields
> -------------------------------------------
>
> Key: SOLR-4647
> URL: https://issues.apache.org/jira/browse/SOLR-4647
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.2
> Reporter: Adrien Grand
> Priority: Major
> Labels: newdev
> Attachments: SOLR-4647.patch
>
>
> There are a few places where grouping uses FieldType.toObject(SchemaField.createField(String, float)) to translate a String field value to an Object. The problem is that createField returns null when the field is neither stored nor indexed, even if it has doc values.
> An option to fix it could be to use the ValueSource instead to resolve the Object value (similarily to NumericFacets).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org