Issue Details (XML | Word | Printable)

Key: HSEARCH-40
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Emmanuel Bernard
Reporter: Emmanuel Bernard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibernate Search

Be able to embed collections in lucene index (@IndexedEmbeddable in collections)

Created: 20/Apr/07 02:03 PM   Updated: 13/Nov/08 10:07 AM
Component/s: None
Affects Version/s: 3.0.0.beta1
Fix Version/s: 3.0.0.beta2

Time Tracking:
Not Specified


 Description  « Hide
Beware that it can potentially put a lot of information into the index if the collection is big.
As usual, avoid embedding collections of collection (the Cartesian product).

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
I D added a comment - 26/Jun/08 06:37 PM
Great enhancement, but please update documentation to reflect it.

I just spent 30 minutes finding out whether this is possible, since the documentation (chapter 4.1.3) still states:
"Any @ManyToMany, @*ToOne and @Embedded attribute can be annotated with @IndexedEmbedded"
... whereas I am looking to embed a @OneToMany attribute.

Also, please describe what the lucene field names would be (the prefixes for this kind of field would probably include some kind of index, perhaps the embedded entity's doumentId?).

Thanks for all your hard work. It's appreciated.