Page 1 of 1

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

Posted: Mon Jan 12, 2015 9:20 pm
by steve cox

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.


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

Posted: Tue Jan 13, 2015 5:53 pm
by Evgene Karachevtsev

Hello Steve,

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


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

Posted: Wed Jan 14, 2015 12:17 am
by steve cox

Thank you very much!


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

Posted: Thu Jul 23, 2015 8:01 pm
by RobertJay

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.


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

Posted: Sat Jul 25, 2015 12:16 pm
by Ravenight

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" } } )


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

Posted: Mon Jul 27, 2015 2:46 pm
by RobertJay

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

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


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

Posted: Tue Jul 28, 2015 12:54 am
by Yurii Orishchuk

Hi Robert,

Unswered on that new thread.


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

Posted: Tue Aug 04, 2015 10:51 am
by Serhii Kulibaba

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

Posted: Fri Jul 22, 2016 12:16 am
by Frank7390035

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