[ 
https://issues.apache.org/jira/browse/SOLR-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829902#action_12829902
 ] 

Hoss Man commented on SOLR-1754:
--------------------------------

The second array you are talking about only exists if you use the StringIndex 
based FieldCache.

The TrieField subclasses all use the raw primitive FieldCache types, they just 
use a special parser to decode the Trie value into the raw primitive value ... 
take a look at o.a.s.schema.TrieField.getSortField.

If you look at stats.jsp you can see which FieldCaches are loaded for each 
field, and verify that all the TreidIntField's you sort on are using a 
primitive int[], and not a StringIndex.

> Legacy numeric types do not check input for bad syntax
> ------------------------------------------------------
>
>                 Key: SOLR-1754
>                 URL: https://issues.apache.org/jira/browse/SOLR-1754
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Lance Norskog
>             Fix For: 1.5
>
>
> The legacy numeric types do not check their input values for valid input. A 
> text string is accepted as input for any of these types: IntField, LongField, 
> FloatField, DoubleField. DateField checks its input.
> In general this is a no-fix, except: that IntField is a necessary memory type 
> because it cuts memory use in sorting.

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

Reply via email to