lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1334) SortableXXXField could use native FieldCache for sorting
Date Wed, 05 Aug 2009 12:28:14 GMT

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

Yonik Seeley commented on SOLR-1334:
------------------------------------

Yup - that's what I had in mind... a DocIdSet that matches documents with a value.

> SortableXXXField could use native FieldCache for sorting
> --------------------------------------------------------
>
>                 Key: SOLR-1334
>                 URL: https://issues.apache.org/jira/browse/SOLR-1334
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>
> When looking through the FieldTypes (esp. new Trie code), I found out that field types
using org.apache.solr.util.NumberUtils use String sorting. As SortField can get a FieldCache
Parser since LUCENE-1478, NumberUtils could supply FieldCache.Parser singletons (serializable
singletons!) for the SortableXXXField types, and the SortField instances could use these parsers
instead of STRING only SortFields.
> The same parsers could be used to create ValueSources for these types.

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


Mime
View raw message