You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Modassar Ather (JIRA)" <ji...@apache.org> on 2014/07/15 11:31:06 UTC
[jira] [Commented] (SOLR-4647) Grouping is broken on docvalues-only
fields
[ https://issues.apache.org/jira/browse/SOLR-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061877#comment-14061877 ]
Modassar Ather commented on SOLR-4647:
--------------------------------------
Hi,
I am also seeing this issue while doing grouping on docValues enabled field. I checked createField(...) method of FieldType which returns null if the field is not indexed and stored.
Kindly provide inputs if any of the indexe/stored needs to be set to true while creating a docValue field or this is an issue.
Thanks,
Modassar
> Grouping is broken on docvalues-only fields
> -------------------------------------------
>
> Key: SOLR-4647
> URL: https://issues.apache.org/jira/browse/SOLR-4647
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.2
> Reporter: Adrien Grand
> Labels: newdev
>
> 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
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org