mongoose-text-search
mongoose-text-search copied to clipboard
Too little result
Is there any way I can get more result. In database I have:
gehen
gehen
gehend
gehende
gehendem
gehenden
gehender
gehendes
gehengelassen
gehenkt
gehenkte
gehenktem
gehenkten
gehenkter
gehenktes
gehenlassen
gehenlasst
gehenließ
gehenließen
gehenließet
gehenlässt
Gehens
However, when I search for "gehen", it returns only "gehen" and "Gehens". Is there any way I could get more relevant results?
Any help would be very appreciated
This is too later to answer but it might help someone . For case insensitive and diacritic insensitive text searches, the $text operator (textSearch function here ) matches on the complete stemmed word. So if a document field contains the word blueberry, a search on the term blue will not match. However, blueberry or blueberries will match. This is the property of mongodb . While creating the module ,author just to make the module simple might have skipped these technicality .