How to not save a field in mongoose
up vote
1
down vote
favorite
I am trying to integrate MongoDB
and elasticsearch
in an Application using mongoosastic
and it requires one field to be stored in elasticsearch
and not in MongoDB
. How to achieve it?
Is there any way to achieve this?
mongodb mongoose
add a comment |
up vote
1
down vote
favorite
I am trying to integrate MongoDB
and elasticsearch
in an Application using mongoosastic
and it requires one field to be stored in elasticsearch
and not in MongoDB
. How to achieve it?
Is there any way to achieve this?
mongodb mongoose
1
stackoverflow.com/questions/11160955/…
– dnickless
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to integrate MongoDB
and elasticsearch
in an Application using mongoosastic
and it requires one field to be stored in elasticsearch
and not in MongoDB
. How to achieve it?
Is there any way to achieve this?
mongodb mongoose
I am trying to integrate MongoDB
and elasticsearch
in an Application using mongoosastic
and it requires one field to be stored in elasticsearch
and not in MongoDB
. How to achieve it?
Is there any way to achieve this?
mongodb mongoose
mongodb mongoose
asked yesterday
Nithin
15612
15612
1
stackoverflow.com/questions/11160955/…
– dnickless
yesterday
add a comment |
1
stackoverflow.com/questions/11160955/…
– dnickless
yesterday
1
1
stackoverflow.com/questions/11160955/…
– dnickless
yesterday
stackoverflow.com/questions/11160955/…
– dnickless
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
It was as easy as inserting select: false
in the Mongoose Schema
.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
It was as easy as inserting select: false
in the Mongoose Schema
.
add a comment |
up vote
0
down vote
It was as easy as inserting select: false
in the Mongoose Schema
.
add a comment |
up vote
0
down vote
up vote
0
down vote
It was as easy as inserting select: false
in the Mongoose Schema
.
It was as easy as inserting select: false
in the Mongoose Schema
.
answered yesterday
Nithin
15612
15612
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53236467%2fhow-to-not-save-a-field-in-mongoose%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
stackoverflow.com/questions/11160955/…
– dnickless
yesterday