You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/02/13 06:07:27 UTC

[jira] Resolved: (SOLR-1771) StringIndexDocValues should provide a better error message when getStringIndex fails

     [ https://issues.apache.org/jira/browse/SOLR-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-1771.
----------------------------

    Resolution: Fixed
      Assignee: Hoss Man

I'm not convinced that the wording of the new error message is all that great, but it's vastly better then the previous behavior...

Committed revision 909746.


Note that this affected numerous different class: OrdFieldSource, All the "Sortable*Field" classes, DateField, and StrField.  (anyone instantiating an instance of StringIndexDocValues)

> StringIndexDocValues should provide a better error message when getStringIndex fails
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-1771
>                 URL: https://issues.apache.org/jira/browse/SOLR-1771
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 1.5
>
>
> if someone attempts to use an OrdFieldSource on a field that is tokenized, FieldCache.getStringIndex throws a confusing RuntimeException that StringIndexDocValues propogates.  we should wrap that exception in something more helpful...
> http://old.nabble.com/sorting-td27544348.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.