[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-434) Make use of NumericField

G Fernandes (JIRA) noreply at atlassian.com
Mon Sep 6 20:11:18 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38301#action_38301 ] 

G Fernandes commented on HSEARCH-434:
-------------------------------------

What about creating a new annotation, some examples: 

// with all attributes 
@NumericField(name="f",precisionStep=8,type=NumericTypes.LONG) 
private String serialNumber; 

// assuming all defaults, with precisionStep=4, type would be Integer 
@NumericField 
private Integer id;

WDYT?

> Make use of NumericField 
> -------------------------
>
>                 Key: HSEARCH-434
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-434
>             Project: Hibernate Search
>          Issue Type: Sub-task
>          Components: engine
>            Reporter: Emmanuel Bernard
>            Assignee: G Fernandes
>             Fix For: 3.3.0
>
>


-- 
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