Error: Unrecognized logical operator: $text
See original GitHub issueIs there support for MongoDB Text Search? My queries are all bumming out with the following error:
Error: Unrecognized logical operator: $text
Here’s an example query I’m trying to run:
Meteor.publish('campaign-search', function publishFunction(string) {
var query = {$text:{$search:string}}
var campaigns = Campaigns.find(query)
return campaigns
})
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
FullText client side · Issue #10568 · meteor/meteor - GitHub
Hi when I try to execute a query using operator $text I'm recevice this error mssage. Uncaught Error: Unrecognized logical operator: $text.
Read more >Error using $text in Mongo find() - help - Meteor forums
I get “Error: Unrecognized logical operator: $text”. Am I using this wrong, or is this not supported? Meteor 1.0.4.1, Mongo 2.6.7.
Read more >"Unrecognized logical operator: $in" Mongo.collection update
It is possible to modify multiple values in a local collection, however there is a limitation in what selectors or modifiers can be...
Read more >Expressions and operators - JavaScript - MDN Web Docs
Chrome Edge
Addition ( + ) Full support. Chrome1. Toggle history Full support. Edge12...
Addition assignment ( x += y ) Full support. Chrome1. Toggle...
Read more >Documentation: 15: 10.2. Operators - PostgreSQL
If one argument of a binary operator invocation is of the unknown type, ... CREATE FUNCTION mytext_eq_text (mytext, text) RETURNS boolean AS ...;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will investigate this.
@jasongrishkoff it works with polling. And I think it also works without polling (like real live data), but that is outside my scope currently. You can try it out, what I did basically is: if minimongo can’t support certain mongodb operators, $text, $geo, etc, it will fallback to checking eligibility of the document by interogating the database using
_id
and its filters. It will still be super performant.https://github.com/cult-of-coders/redis-oplog/blob/release/1.2.6/testing/polling/client.js