[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-108) id of embedded object is not indexed when using @IndexedEmbedded

Ana Dobrasinovic (JIRA) noreply at atlassian.com
Thu Aug 2 11:57:11 EDT 2007


id of embedded object is not indexed when using @IndexedEmbedded
----------------------------------------------------------------

                 Key: HSEARCH-108
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-108
             Project: Hibernate Search
          Issue Type: Bug
          Components: mapping
    Affects Versions: 3.0.0.beta4
         Environment: hibernate 3.2.4, lucene 2.2.0
            Reporter: Ana Dobrasinovic
            Priority: Minor
         Attachments: embedded.zip

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.... 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list