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

Implement faceting in search #46

Merged
merged 6 commits into from
Jun 4, 2020
Merged

Conversation

curquiza
Copy link
Member

@curquiza curquiza commented Jun 4, 2020

Copy link
Member

@eskombro eskombro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just added suggestions to avoid redundancy on tests because the new assertions you added to check the content of the response make it useless to check if a single field hits exists in response. Otherwise, sseems good :)

spec/meilisearch/index/search_spec.rb Outdated Show resolved Hide resolved
spec/meilisearch/index/search_spec.rb Outdated Show resolved Hide resolved
spec/meilisearch/index/search_spec.rb Outdated Show resolved Hide resolved
spec/meilisearch/index/search_spec.rb Outdated Show resolved Hide resolved
spec/meilisearch/index/search_spec.rb Outdated Show resolved Hide resolved
@curquiza
Copy link
Member Author

curquiza commented Jun 4, 2020

@eskombro you're completely right! I added my new test too fast 🙈!
Thanks!

@curquiza curquiza requested a review from eskombro June 4, 2020 16:50
Copy link
Member

@eskombro eskombro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM 🎉

@curquiza curquiza merged commit 00befb3 into v0.11-meilisearch Jun 4, 2020
@curquiza curquiza deleted the facets-in-search branch June 4, 2020 16:57
curquiza added a commit that referenced this pull request Jun 15, 2020
* Rename fields_frequency to fields_distribution according to MeiliSearch v0.11

* Add method to use faceting sub routes (#44)

* Implement faceting in search (#46)

* Implement faceting in search

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

Co-authored-by: Samuel Jimenez <[email protected]>

* Upd tests according to change in MeiliSearch about anthentication (#48)

* Add debugging part in README

* Add test with multiple facetFilters (#51)

* Change create_index prototype (#50)

Co-authored-by: Samuel Jimenez <[email protected]>
bidoubiwa pushed a commit that referenced this pull request Mar 8, 2021
* Rename fields_frequency to fields_distribution according to MeiliSearch v0.11

* Add method to use faceting sub routes (#44)

* Implement faceting in search (#46)

* Implement faceting in search

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <[email protected]>

Co-authored-by: Samuel Jimenez <[email protected]>

* Upd tests according to change in MeiliSearch about anthentication (#48)

* Add debugging part in README

* Add test with multiple facetFilters (#51)

* Change create_index prototype (#50)

Co-authored-by: Samuel Jimenez <[email protected]>
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.

2 participants