Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Conversation

@francoischalifour
Copy link
Contributor

This PR reorders the questions in the CLI and prints recommended attributes to display in the hits.

These recommended attributes are based on the highlightable attributes in the dashboard, gotten with a search on the index. They default to a selection among ['title', 'name', 'description']. These values are bumped up in the ranking of the list since they are the most commonly used.

If there's a missing information to target the index (appId, apiKey or indexName), we skip the question. If the index is not reachable, we print the default list.

Preview

Preview


Closes #32

@francoischalifour francoischalifour merged commit 0d9cb6a into master Jun 12, 2018
@francoischalifour francoischalifour deleted the feat/cli-recommend-attributes branch June 12, 2018 14:34
aymeric-giraudet pushed a commit to algolia/instantsearch that referenced this pull request Dec 14, 2022
…stantsearch-app#43)

* feat(cli): Reorder questions

* feat(cli): Recommend attributes to display
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants