You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/28 17:33:00 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=16828789#comment-16828789 ] 

ASF subversion and git services commented on SOLR-4647:
-------------------------------------------------------

Commit 4b49bd99ca20cee2263a3cd3c115c7d00b98f043 in lucene-solr's branch refs/heads/master from Ishan Chattopadhyaya
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4b49bd9 ]

SOLR-12248, SOLR-4647: Grouping is broken on docValues-only fields


> 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