Hi all,
I'm a beginner of Hibernate Search, a wonderful framework component!
I have a challenge and I don't know how to solve it:
I have a collection like this in the root class:
Quote:
@IndexedEmbedded
private Set<A> instances = new HashSet(0);
In class A, I have:
Quote:
@Indexed
public class A {
.......
@IndexedEmbedded
private B b;
.......
}
In class B, I have:
Quote:
@Indexed
public class B {
.......
@Field(index=Index.TOKENIZED, store=Store.NO)
private String aField;
.......
}
Why I cannot use this lucene field property
instances.b.aField to retrieve all root class that has aField fits with condition search?
I have researched and read through hibernate search document but I can't find out the answer, please help me!
Thanks so much.