Skip to content

Full text search for Parse JS SDK and or Parse Cloud code #4490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
srameshr opened this issue Jan 8, 2018 · 7 comments
Closed

Full text search for Parse JS SDK and or Parse Cloud code #4490

srameshr opened this issue Jan 8, 2018 · 7 comments

Comments

@srameshr
Copy link
Contributor

srameshr commented Jan 8, 2018

Issue Description

The current query options on strings, in the JS SDK and Parse Cloud code is just limited to "starting with" option.

I see that there was a PR sent to include this feature but did not get merged:
parse-community/Parse-SDK-JS#470

Steps to reproduce

Try to do a fuzzy query or levenshtein-distance for strings.

Parse API code has this integrated.
https://github.com/parse-community/parse-server/pull/3904l

Expected Results

JS SDK should support the following text search:
http://docs.parseplatform.org/rest/guide/#queries-on-string-values

Actual Outcome

In the meantime, any ideas on how to use the Parse API (where this feature is available) within the Parse Server Cloud code, to query on strings?

What is happening instead?: Ummm, Im stuck 😐

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.9.x
    • Operating System: Mac OS
    • Hardware:
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Localhost / AWS
  • Database

    • MongoDB version: 3.4
    • Storage engine: MIFS
    • Hardware:
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Localhost / AWS

Logs/Trace

Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.

@dplewis
Copy link
Member

dplewis commented Jan 31, 2018

@srameshr If your stuck with using the Rest API in Cloud Code you can use any HttpRequest package available in node like request. If you need examples please look at the test specs.

https://github.com/parse-community/parse-server/blob/master/spec/ParseQuery.FullTextSearch.spec.js

@srameshr
Copy link
Contributor Author

Why are you guys not releasing the next version with this fix?

@dplewis
Copy link
Member

dplewis commented Jan 31, 2018

@srameshr I know @flovilmart has been giving the iOS SDK some TLC to fix Bolt issues and merging the iOS related repos which took a lot of work.

parse-community/Parse-SDK-iOS-OSX#1237

I can't speak for the team as far as releases go but there should be one soon.

I've offered plenty of way for this feature to be used in the meantime. I hope you can understand.

Edit: You can have a look at this comment #3747 (comment) there is node package for full-text-search

@christianpbrink
Copy link

Hi all, any updates on a release that adds FTS to the parse/node JS package?

@christianpbrink
Copy link

@srameshr Is that thumbs-down for it being a bad question, or are you just saying no, there aren't any updates?

@flovilmart
Copy link
Contributor

@srameshr if you keep showing this attitude, I'd have no other choice but to act accordingly as your comments and behaviour is not one we want to tolerate.

@srameshr
Copy link
Contributor Author

srameshr commented Mar 5, 2018

I'm unsubscribing from these threads. Ignore the whining.
Edit: Just deleted the previous comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants