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

Terms datamodel (index) #3

Closed
fenekku opened this issue Aug 15, 2019 · 2 comments
Closed

Terms datamodel (index) #3

fenekku opened this issue Aug 15, 2019 · 2 comments
Labels

Comments

@fenekku
Copy link
Contributor

fenekku commented Aug 15, 2019

The "terms" index contains:

  • source : keyword
  • id : keyword
  • value : text or keyword?
  • definition : text
  • deprecated : bool
  • suggest : list of stopword-removed words making up the value that will be used by the suggester.

As a depositor, when I search for a term through the auto-complete feature, I want to be able to select one word terms. I don't want them to be occluded by other keywords that contains the one word, but are longer.

To solve the above issue, a scoring algorithm on the suggest endpoint can be used to give a higher score to shorter suggest list (I think).

@github-actions
Copy link
Contributor

This issue was automatically marked as stale.

@github-actions github-actions bot added the stale label Jan 28, 2021
@fenekku
Copy link
Contributor Author

fenekku commented Mar 1, 2021

@fenekku fenekku closed this as completed Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant