Skip to content
New issue

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

Too little result #11

Open
letunglam opened this issue Mar 14, 2015 · 1 comment
Open

Too little result #11

letunglam opened this issue Mar 14, 2015 · 1 comment

Comments

@letunglam
Copy link

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

@coolb0y
Copy link

coolb0y commented Jan 24, 2022

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants