Skip to content
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

SOSL USING PHRASE/ADVANCED SEARCH Support #56

Closed
aheber opened this issue Dec 11, 2024 · 3 comments
Closed

SOSL USING PHRASE/ADVANCED SEARCH Support #56

aheber opened this issue Dec 11, 2024 · 3 comments

Comments

@aheber
Copy link
Owner

aheber commented Dec 11, 2024

SOSL has undocumented support for the following syntax, these can be executed in an org and should be supported by the parser.

FIND { term } USING PHRASE SEARCH
FIND { term } USING ADVANCED SEARCH
FIND { term }  RETURNING Account USING PHRASE SEARCH

Originally posted by @xixiaofinland in #55 (comment)

@aheber
Copy link
Owner Author

aheber commented Dec 11, 2024

For positional testing, it looks like the USING clause on the main SOSL needs to be between any WITH clause but before any LIMIT clause.

FIND {hello}  RETURNING Account WITH HIGHLIGHT USING PHRASE SEARCH LIMIT 1

@aheber
Copy link
Owner Author

aheber commented Dec 12, 2024

Should be updated now. Will update the NPM package later.

@aheber aheber closed this as completed Dec 12, 2024
@xixiaofinland
Copy link
Contributor

works!

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

2 participants