次のようなクエリがあります。
Book.search(esQuery, {
hydrate: true
}, function(err, res) {
if (res) {
return cb(null, res.hits.hits);
} else {
return cb 'error',null
}
});
Book ドキュメントに参照ドキュメントがあります。res.hits.hits で参照されている Mongo を読み込むことは可能ですか?
次のようなクエリがあります。
Book.search(esQuery, {
hydrate: true
}, function(err, res) {
if (res) {
return cb(null, res.hits.hits);
} else {
return cb 'error',null
}
});
Book ドキュメントに参照ドキュメントがあります。res.hits.hits で参照されている Mongo を読み込むことは可能ですか?