[hibernate-dev] R: [HSEARCH] @DateBridge and @Field(index=Index.UN_TOKENIZED)
Sanne Grinovero
sanne.grinovero at gmail.com
Thu May 20 14:04:42 EDT 2010
Makes sense, maybe we could default to untokenized? Same idea should apply
to the soon-to-be-added NumericFields.
Il giorno 20/mag/2010 14:58, "Emmanuel Bernard" <emmanuel at hibernate.org> ha
scritto:
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?
_______________________________________________
hibernate-dev mailing list
hibernate-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list