|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
@Documented
public @interface DocumentIdDeclare a field as the document id. If set to a property, the property will be used TODO: If set to a class, the class itself will be passed to the FieldBridge Note that @{link org.hibernate.search.bridge.FieldBridge#get} must return the Entity id
| Optional Element Summary | |
|---|---|
String |
name
|
public abstract String name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||