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

Add an option for fallback to additional lexicon if not found #581

Open
balmas opened this issue Dec 15, 2020 · 1 comment
Open

Add an option for fallback to additional lexicon if not found #581

balmas opened this issue Dec 15, 2020 · 1 comment
Assignees
Labels
client-adapters related to client adapters enhancement New feature or request

Comments

@balmas
Copy link
Member

balmas commented Dec 15, 2020

Currently if a language has multiple lexicons, it's possible to select more than one for lookup for both short definitions and full definitions. But this always adds the definitions from each lexicon that is selected.

A more useful scenario would be to support a "first-found" lookup, so that if a definition isn't found in the preferred lexicon, we search the others until we find it.

This would be a more scalable way to address issues such as alpheios-project/mjm#2

@balmas balmas self-assigned this Dec 15, 2020
@balmas balmas added client-adapters related to client adapters enhancement New feature or request labels Dec 15, 2020
@balmas
Copy link
Member Author

balmas commented Dec 15, 2020

@kirlat I'm thinking about what we can do for the incremental for this but this is also definitely a use case we need to support in the lexical query refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-adapters related to client adapters enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant