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

Auto-complete // Suggestion #27

Open
andrewvy opened this issue Nov 25, 2018 · 0 comments
Open

Auto-complete // Suggestion #27

andrewvy opened this issue Nov 25, 2018 · 0 comments
Milestone

Comments

@andrewvy
Copy link
Owner

Elasticsearch provides suggestion text ranked by related documents.

This helps the user narrow down their search before actually executing it.

This process breaks apart the text into tokens and finds similar tokens, ranked by "relevancy."

Some POC GQL types:

albumSuggestions(suggestion: String) {
  suggestions {
    length
    offset
    options {
      doc {
      }
      text
    }
  }
}

UI:

Suggestion: "te"

Test
Test Album
Album Test
China House Tea

@andrewvy andrewvy added this to the Alpha milestone Nov 25, 2018
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

No branches or pull requests

1 participant