-
Notifications
You must be signed in to change notification settings - Fork 0
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
Limit number of results that are returned from knowledge bases #269
Comments
I would suggest to have in the config file an (optional) param "max number of suggestions". If available, this should cause that only such number of suggestions is returned per each case (those with highest score). By default, this should not be restricted. |
@tomas-knap I agree that it should be an optional parameter. But returning a limited number of results based on score would defeat the purpose of this improvement. The main motivation is to handle situations, where there are so many results returned from the knowledge base, that processing them would take impractically long. For this reason I propose to limit the number of results in main SPARQL search queries (exact match and fulltext search) and display a warning for the user when this limit is reached. |
An example of query, that returns quite a lot of results:
|
Ok, but still I would prefer to have config.param - which may be turned on by default (which is a difference from what I proposed above) |
(so that I can easily switch that off when testing/playing with the algorithm, without the need to remove all limits etc. ) |
Sometimes there are too many results returned from the knowledge base. In these situations, it could be better to limit the number returned results and add warning that the value is too vague.
The text was updated successfully, but these errors were encountered: