-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Text Search
-
None
It's common for users to want fts search results without incurring the cost of sorting the scored results or even having the score at all (just a match against the index). It would be nice if we added these boolean options to the text command.
For example, return all documents that match the query but without a score
db.collection.runCommand("text", {search: "query", score: false}})
or return all documents that match the query with a score field but without sorting them based on that score field
db.collection.runCommand("text", {search: "query", sort: false}})
- related to
-
SERVER-9063 Integrate text search into normal query system
- Closed