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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Aug 2 15:29:11 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HSEARCH-108:
-------------------------------------

    Fix Version/s: 3.0.0.cr1

> 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
>             Fix For: 3.0.0.cr1
>
>         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