lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-4647) Grouping is broken on docvalues-only fields
Date Fri, 05 Apr 2013 14:30:13 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message