We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm attempting to index referenced documents. (Without making them sub-documents)
For example;
var Author = mongoose.Schema({ name: { type: String } }): var Page = mongoose.Schema({ title: { type: String }, author: { type: ObjectId, ref: 'Author' } });
After getting indexed this becomes something like this;
"author": { _bsontype: "ObjectID", id: "SYæ�Sþ\n®àÊF$" },
Is there anyway to index the full referenced object instead of just the ObjectId?
The text was updated successfully, but these errors were encountered:
This is a good question and I don't know the answer immediately but we'll look into it.
Sorry, something went wrong.
This issue has been moved to mongoosastic#8
No branches or pull requests
I'm attempting to index referenced documents. (Without making them sub-documents)
For example;
After getting indexed this becomes something like this;
Is there anyway to index the full referenced object instead of just the ObjectId?
The text was updated successfully, but these errors were encountered: