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

fix(lite): use lite algoliasearch build (js client) #1037

Merged
merged 2 commits into from
May 27, 2016

Conversation

vvo
Copy link
Contributor

@vvo vvo commented May 26, 2016

fixes #1024 by forcing to load /lite and avoid bad resolve of the
browser field.

This could break if people were using search.client to do things like
indexing. But we do document this as an API entry. We only have an
infinite scroll tutorial using the client passed to the helper. Thus I
had to make browse and browseFrom part of the lite build.

@algobot
Copy link
Contributor

algobot commented May 26, 2016

By analyzing the blame information on this pull request, we identified @jerskouille, @redox and @bobylito to be potential reviewers

@vvo vvo changed the title chore(lite): use lite build chore(lite): use lite algoliasearch build May 26, 2016
@vvo vvo changed the title chore(lite): use lite algoliasearch build chore(lite): use lite algoliasearch build (js client) May 26, 2016
@vvo vvo changed the title chore(lite): use lite algoliasearch build (js client) fix(lite): use lite algoliasearch build (js client) May 26, 2016
fixes #1024 by forcing to load /lite and avoid bad resolve of the
browser field.

This could break if people were using search.client to do things like
indexing. But we do document this as an API entry. We only have an
infinite scroll tutorial using the client passed to the helper. Thus I
had to make browse and browseFrom part of the lite build.
@pixelastic
Copy link
Contributor

I think we're ok for the indexing part, people should not be using instantsearch to do any indexing. Ok for the browse, I did not know we could do browser with a search-only key. Maybe only with a key with specific ACL?

LGTM

@pixelastic pixelastic merged commit a3a6022 into develop May 27, 2016
@pixelastic pixelastic deleted the chore/use-lite-build branch May 27, 2016 22:50
@vvo
Copy link
Contributor Author

vvo commented May 28, 2016

I did not know we could do browser with a search-only key

No you cannot but still it's a "search" operation available with specific keys.

@vvo
Copy link
Contributor Author

vvo commented May 28, 2016

As for the indexing part, people can use instantsearch.js (example: back office application). Truth is that we do not expose the client anywhere in an official way. So people willing to do so should include it.

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

Successfully merging this pull request may close these issues.

Usage in meteor
3 participants