I have a one to one association with one entity marked as indexed and
the link to the other marked as indexed embedded. Both entities have
fields marked as store=yes. I can load the fields of the indexed
entity by projection from the index, but the fields of the
IndexedEmbedded entity always come back as null. The structure is
shown below. Any ideas?

[Indexed]
public class Document
{
    [DocumentId]
    public virtual int ID { get; set; }

    [Field(Store = Store.Yes)]
    public virtual string Name {get; set; }

    [IndexedEmbedded]
    public Virtual File File { get; set; }
}

pubic class File
{
    public virtual byte[] Data { get; set; }

    [Field(Store = Store.Yes)]
    public virtual string Text { get; set; }
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to