steve cox
Posts: 0
Joined: Thu Oct 30, 2014 3:48 pm

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

Which Mongodb version runs on the Appery.io backend and does it support text indexes and the $text and $search operators as described in docs at:

http://docs.mongodb.org/manual/core/i...

?

I am currently using the $regex operator as suggested here:

https://getsatisfaction.com/apperyio/...

but i'd like to use the features that the $text and $search operators offer.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

Hello Steve,

Mongodb 2.6.3, $text is supported, $search is supported too.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

Hi Evgene. I've created a non-unique index for the text column State (e.g. "NY" or "CA") and have a request parameter set as: {"State":"NY"} - but it appears to have no effect with my server-code service. I.E. all states are being returned to my code, not just the state I'm doing the "where" on. Is there something obvious I should or should not be doing. Thanks.

Ravenight
Posts: 0
Joined: Sun Jan 11, 2015 3:43 pm

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

I would like to make use of $text and $search as well, how do I ensure I am searching on a text index and how do I create a text index that contains two or more columns?

Is there an example that could be provided that shows how to make this work?

I would like to make this function correctly:
http://docs.mongodb.org/manual/refere...
db.articles.find(
{ $text: { $search: "cake" } },
{ score: { $meta: "textScore" } }
).sort( { score: { $meta: "textScore" } } )

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

UPDATE: i've started a new thread which hopefully will get a response. It's at:

https://getsatisfaction.com/apperyio/...

Frank7390035
Posts: 0
Joined: Thu Feb 19, 2015 1:37 am

Which Mongodb version runs on the backend and does it support text indexes and $text and $search operators?

Hi Sergiy,

The link provided did not answer the question...

I would need to sort the search results by relevance and can't think of another way of doing this... any help is appreciated!

Thank you,
Frank

Return to “Issues”