feliperazeek / playframework-elasticsearch

Integrate Elastic Search in a Play! Framework Application. This module uses JPA events to notify Elastic Search of events of their own. It embeds a running Elastic Search instance for Rapid Development.
http://geeks.aretotally.in/play-framework-module-elastic-search-distributed-searching-with-json-http-rest-or-java
84 stars 43 forks source link

Parent/child support #25

Closed jfilby closed 13 years ago

jfilby commented 13 years ago

I have a model with a @ManyToOne property. Will it's contents be indexed? If so, how would I search against its fields?

Thanks Jason

feliperazeek commented 13 years ago

It gets flattened so if you have model Company with property Address you would search like "address.street", assuming street is a property of Address.