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 or SOQL #5

Open
iicray opened this issue Apr 19, 2014 · 3 comments
Open

SOSL or SOQL #5

iicray opened this issue Apr 19, 2014 · 3 comments

Comments

@iicray
Copy link

iicray commented Apr 19, 2014

Just install the package, and it can't work at all!!

After the debug, I found it is beacuse of the SOSL problem.

I dont know the reason, however, the SOSL returns nothing at all. You can see it in the attached screenshot.
image

I double check the global search functionality as well. And, it confirms the problem of SOSL. The SOSL at the moment is not function.

After modify the class a little, and change to use SOQL. The problem is gone, and all the feature of typeahead works as it should be.

Since the fact, I suggest to add the option for users to use SOQL.

Thanks.

@groundwired
Copy link
Contributor

Did you add those records just before searching? SOSL index takes a little time to update.

It is a good idea to offer either SOQL or SOSL, but SOSL is nice because it searches many fields at once.

@iicray
Copy link
Author

iicray commented Apr 22, 2014

It's a just-created Dev Org. And, those records are the defaults in the Dev.

@btyeung
Copy link

btyeung commented Apr 18, 2015

Hi! Thanks for building this. Very useful. Question about filterClause, what is the proper syntax for that. For example if I'm looking up Contacts specifically for one account (our list of employees), is my syntax going to be "AccountId = 'thesfdcaccountid'" or is there more to it? Without the filter criteria, it works well but the resultset is too large. Thanks!

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

No branches or pull requests

3 participants