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 usePreciseSubqueries property to example.runtime.properties. Hav… #220

Merged

Conversation

brianjlowe
Copy link
Member

@brianjlowe brianjlowe commented Mar 29, 2021

…e RDFServiceTDB report a preference for precise optionals as does SDB.

JIRA Issue:

Companion VIVO PR: vivo-project/VIVO#233

https://wiki.lyrasis.org/display/VIVO/2021-03-23+-+VIVO+Development+IG

What does this pull request do?

Has TDB also report a preference for precise optionals (as SDB already does) so that precise-subquery patterns in list views will be included. Updates example.runtime.properties to show users how to set this behavior explicitly.

How should this be tested?

  • No functional changes. Confirm that code still builds and runs normally. Review text in properties file. Additional testing of performance under both settings is welcome, though not expected at this stage (per developer discussion linked above.)

Interested parties

@VIVO-project/vivo-committers

… RDFServiceTDB report a preference for precise optionals as does SDB.
@@ -93,6 +93,10 @@ public boolean changeSetUpdate(ChangeSet changeSet)
}
}

@Override
public boolean preferPreciseOptionals() {
return true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brianjlowe Does this change the default for TDB? In my (limited) testing using the precise subqueries improved performance with TDB, though as I understood it that was unexpected.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right; this changes the default for TDB. The suggestion on the last call was that we should optimistically switch the TDB default, based on the limited results you and I had, and switch back if more extensive testing of the release candidate suggested otherwise.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brianjlowe Cool, thanks for confirming.

@gneissone gneissone merged commit bbead68 into vivo-project:rel-1.12.0-alpha May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants