Closed gerbdla closed 10 years ago
calling Scorecard.es.search "NOT STARTED" it is returning the scorecard but not the sub docs. embeds_one :score_status, :class_name=>"ScoreStatus" any ideas? kinda new to es and mongodb
Didn't test embedded documents. you can try specifying fields manually: def as_indexed_json { .... score_status: score_status.as_json } end
calling Scorecard.es.search "NOT STARTED" it is returning the scorecard but not the sub docs.
embeds_one :score_status, :class_name=>"ScoreStatus" any ideas? kinda new to es and mongodb