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

Ryan McKinley updated SOLR-2443:
--------------------------------

    Attachment: SOLR-2443-object-values.patch

Adding default implementatio that uses strVal()
{code:java}
  public Object objectVal(int doc) { return strVal( doc ); }
{code}

Then different DocValues override things like:
{code:java}
      @Override
      public Object objectVal(int doc) {
        return arr[doc];
      }
{code}

> Solr DocValues should have objectVal(int doc)
> ---------------------------------------------
>
>                 Key: SOLR-2443
>                 URL: https://issues.apache.org/jira/browse/SOLR-2443
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: SOLR-2443-object-values.patch
>
>
> DocValues has all versions of intVal, floatVal, strVal, but there is no 
> general way to know what the raw type is.
> We should add a general objetVal( int doc )

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to