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

id of embedded object is not indexed when using @IndexedEmbedded

Description

Search by id of embedded object is not possible. Id of embedded object is not included into indexing process of base object for some reason. I found workaround - to annotate id property of embedded object with
@Field(index = Index.UN_TOKENIZED).
In attachment there is a modified test case that came along beta4. Hope it helps...
Basically, search by address.id is added on tower search part, and, as you can see, it's not working....

Environment

hibernate 3.2.4, lucene 2.2.0

Status

Assignee

Unassigned

Reporter

Ana Dobrasinovic

Components

Fix versions

Affects versions

3.0.0.beta4

Priority

Minor