[hibernate-dev] [HSEARCH] @DateBridge and @Field(index=Index.UN_TOKENIZED)
Emmanuel Bernard
emmanuel at hibernate.org
Thu May 20 08:57:20 EDT 2010
Does it ever make sense to use @DateBridge without @Field(index=Index.UN_TOKENIZED) or NO_NORM
I got caught up with doing
@DateBridge(resolution=DAY) @Field
public String getDate() { return date; }
and having unexpected issues.
If it never makes sense we could raise an exception when that happens, or simply force the index strategy to UN_TOKENIZE.
WDYT?
More information about the hibernate-dev
mailing list