Joined: Sun May 19, 2013 2:44 pm Posts: 10
|
I have a hibernate entity class modeled like this.
@Indexed public class Parent { @Field private String name; @IndexedEmbedded private Set<Child> children; }
public class Child { @Field private String firstName; @Field private String lastName; @ContainedIn private Parent parent; }
When I search on firstName AND lastName on the children collection from the parent, I get the results matching the firstName and any of the lastName. How can I get the results that match both the firstName and lastName?
+children.firstName:xxxxx +children.lastName:yyyy
Can this be done using filters? Anyone has a working example?
|
|