We're updating the issue view to help you get more done. 

Define default resolution for date bridges

Description

Or at least review the bridge initialization:

This does not seem to work:

1 2 3 4 5 @Field(analyze = Analyze.NO, bridge = @FieldBridge(impl = StringEncodingDateBridge.class)) @DateBridge(resolution = Resolution.DAY) public Date getDate() { return date; }

This works

1 2 3 4 @Field(analyze = Analyze.NO, bridge = @FieldBridge(impl = StringEncodingDateBridge.class, params = { @Parameter(name = "resolution", value = "DAY") })) public Date getDate() { return date; }

Environment

None

Status

Assignee

Hardy Ferentschik

Reporter

Hardy Ferentschik

Components

Fix versions

Affects versions

5.0.0.CR1

Priority

Major