Hibernate Searcg version: 3.0.1.GA
Hi. I have two questions.
First, ¿how can i map a component in Hibernate Search?
I have this model:
Code:
@Indexed
public class A {
@DocumentId
private Long id;
private B b;
}
public class B {
private Collection<C> c;
}
public class C {
private Long id;
private String s;
}
Here i want to search A classes, and if i put "blah" that is in string "s", and an A class have this C class in his B component, i want to get this A class..
Is very easy, i think, but i dont know how to do this...
Thanks