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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Oct 15 03:31:48 EDT 2010


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

Emmanuel Bernard commented on HSEARCH-434:
------------------------------------------

This
http://pastebin.com/Pkd2yx0J

{code}@Fields({
       @Field(name = "name", type=FieldType.NUMERIC),
       @Field(name = "name2", type=FieldType.NUMERIC)
	}
)
@NumericFields({
    @NumericFields(forField="name"),
    @NumericField(forName="name2")
})
private Integer counter;
{code}

But I wonder what the use case would be to index the same property twice as numeric field.

> Make use of NumericField 
> -------------------------
>
>                 Key: HSEARCH-434
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-434
>             Project: Hibernate Search
>          Issue Type: New Feature
>          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