I'm using MongoDB for my project and with it the text search. I've seen that the only way to make it return results that could really be what the user is looking for is to use the exact match
Without it MongoDB tends to give me result that aren't precise (primarily because some documents has repeated words that make them have a higher score even if they aren't usually what the user was looking for. For instance, the user searches "neu! hallogallo" and the first document in the sort is the one with name "neu! neu!" and not "neu! hallogallo")
The problem with this method is that it's too much precise. I mean, it only returns one exact document, while my ideal query should at least have 10 documents
The questione is: is there a way to ask to Mongo to return first the exact matches and then the inexact ones in the same query? Or the only way to do this is to make two queries?