Adrien Grand created SOLR-4647:
----------------------------------

             Summary: 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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to