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

Change create_index prototype #50

Merged
merged 1 commit into from Jun 12, 2020

Conversation

curquiza
Copy link
Member

@curquiza curquiza commented Jun 10, 2020

Related to this comment.

Before:

client.create_index('indexUID')
client.create_index(uid: 'indexUID', primaryKey: 'books_id')

(In the second line, the {} are not mandatory, but it's an "object" = hash table in ruby)

After:

client.create_index('indexUID')
client.create_index('indexUID', primaryKey: 'books_id')

Plus, I made the index (= get_index) method consistent with create_index.

@curquiza curquiza requested a review from eskombro June 10, 2020 15:03
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 dd057de into v0.11-meilisearch Jun 12, 2020
@curquiza curquiza deleted the change-create-index-method branch June 12, 2020 07:32
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 <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* 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 <sjimenezre@gmail.com>
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 <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* Update spec/meilisearch/index/search_spec.rb

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

Co-authored-by: Samuel Jimenez <sjimenezre@gmail.com>

* 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 <sjimenezre@gmail.com>
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.

None yet

2 participants