You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/04/05 16:30:13 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=13623667#comment-13623667 ] 

David Smiley commented on SOLR-4647:
------------------------------------

There seems to be a need for a String-to-value method on FieldType.  Based on the current method names, its signature should be Object toObject(String str).  By default it could return str directly.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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