[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-17) Create some specialized converter for number

Caleb Land (JIRA) noreply at atlassian.com
Mon Apr 23 18:25:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26802 ] 

Caleb Land commented on HSEARCH-17:
-----------------------------------

The Solr project has already done this with their org.apache.solr.util.NumberUtils utility class:

http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/NumberUtils.java?view=markup

I use this class to provide number sorting in Lucene.

> Create some specialized converter for number
> --------------------------------------------
>
>                 Key: HSEARCH-17
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-17
>             Project: Hibernate Search
>          Issue Type: New Feature
>            Reporter: Emmanuel Bernard
>
> Typically, the numbers are padded to match the alphabetical ordering
> 007
> 023
> 234
> This can be done manually through a converter but this would be nice to have it built-in

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list