@Fields({
@Field(analyze=Analyze.NO,
bridge=@FieldBridge(impl=org.hibernate.search.bridge.builtin.DateBridge.class,
params=@Parameter(name="resolution", value="hour"))
),
@Field(name = "created_srt", analyze = Analyze.NO,
bridge=@FieldBridge(impl=org.hibernate.search.bridge.builtin.DateBridge.class,
params=@Parameter(name="resolution", value="second"))
)
})
@Column(name="created")
@Temporal(TemporalType.TIMESTAMP)
private Date created;