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

(All plugins) : if the query gives no or a very few results, suggest to extend the query to more generic concepts #11

Open
tfrancart opened this issue Apr 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tfrancart
Copy link
Contributor

IFF:

  • the Sparnatural query + the Sparnatural config are known
  • the query returns a number of results < 10 (or a threshold to be configured)
  • the query contains a criteria on a property that has a range for which a property is marked as a "dash:HierarchyParentRole" or "dash:HierarchyChildRole"
  • The criteria uses a single value

Then:

  • Display a message on top of the result set to indicate "Your query returned a very results. Would you like to enlarge your query to XXXX instead of YYYY ?"
  • Then the updated query would get reloaded into Sparnatural
@tfrancart tfrancart added the enhancement New feature or request label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant