You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When try to search with firstname or last name it's return no results while already have results User.fuzzySearch({query: 'jo'}).sort({ age: -1 }).exec();
Also check in mongoose database email_fuzzy have data but firstName_fuzzy haven't data
What is the expected behaviour?
Return results when add data as new User({ email : "[email protected]",name : {firstName: 'John A', lastName: 'Deo'}}); If this is a feature request, what is the motivation or use case for changing
the behaviour?
No Please mention other relevant information such as Node.js and mongoose version.
Node : 16.6.2
Mongoose : 5.10.19
The text was updated successfully, but these errors were encountered:
Do you want to request a feature, an issue, or report a bug?
Yes
What is the current behaviour?
Can't search with index and object data
If the current behaviour is a bug, please provide the steps to reproduce.
I create user Schema with fuzzy search plugin as below
When try to search with firstname or last name it's return no results while already have results
User.fuzzySearch({query: 'jo'}).sort({ age: -1 }).exec();
Also check in mongoose database
email_fuzzy
have data butfirstName_fuzzy
haven't dataWhat is the expected behaviour?
Return results when add data as
new User({ email : "[email protected]",name : {firstName: 'John A', lastName: 'Deo'}});
If this is a feature request, what is the motivation or use case for changing
the behaviour?
No
Please mention other relevant information such as Node.js and mongoose version.
Node : 16.6.2
Mongoose : 5.10.19
The text was updated successfully, but these errors were encountered: