-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Reported originally by Stanislav on Stackoverflow
Reproduced locally by me using version 1.0.4
Description of the problem:
When a document references another document object and also expects this document to be indexed, the annotation processor fails to index the subfields of the referenced class.
The example above should create the metafield: Vehicle$.OWNER_NAME which it fails to do.
@Document
class Vehicle {
@Id
private String id;
@Searchable
private String model;
@Reference
@Indexed
private Owner owner;
// Constructors, getters, and setters...
}
@Document
class Owner{
@Id
private String id;
@Searchable
private String name;
// Constructors, getters, and setters...
}
Expected behavior:
Vehicle$.OWNER_NAME metafield should be generated.
As documented in link
Metadata
Metadata
Assignees
Labels
No labels