[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-434?pag...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira