forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid expensive Solr join for public dvObjects in search (experimenta…
…l) (IQSS#10555) * avoid expensive Solr join when guest users search (affect IP Groups) IQSS#10554 * fix copy/past error, target doc for file, not dataset IQSS#10554 * Checking a few experimental changes into the branch: Jim's soft commit fixes from 10547; A quick experiment, replacing join on public objects with a boolean publicObject_b:true for logged-in users as well (with a join added for just for their own personal documents; groups are ignored for now). IQSS#10554 * Step 3, of the performance improvement effort relying on a boolean "publicObject" flag for published documents - now for logged-in users, AND with support for groups. Group support experimental, but appears to be working. IQSS#10554 * Modified the implementation for the guest user, to support ip groups. IQSS#10554 * Removed the few autocommit-related changes previously borrowed from 10547, to keep things separate and clear, for testing etc. IQSS#10554 * Reorganized the optimized code in SearchServiceBean; combined the code block for the guest and authenticated users. IQSS#10554 * updated the release note. IQSS#10554 * Removed the warning from the ip groups guide about the effect of the new search optimization feture that was no longer true. IQSS#10554 * Updated the section of the guide describing the new Solr optimization feature flags. IQSS#10554 * Updated the performance section of the guide. IQSS#10554 * Modified IndexServiceBean to use the new feature flag, that has been separated from the flag that enables the search-side optimization; Fixed the groups sub-query for the guest user. IQSS#10554 * cosmetic IQSS#10554 * doc tweaks IQSS#10554 * no-op code cleanup, correct case of publicObject_b IQSS#10554 --------- Co-authored-by: Leonid Andreev <[email protected]>
- Loading branch information
Showing
7 changed files
with
181 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Two experimental features flag called "add-publicobject-solr-field" and "avoid-expensive-solr-join" have been added to change how Solr documents are indexed for public objects and how Solr queries are constructed to accommodate access to restricted content (drafts, etc.). It is hoped that it will help with performance, especially on large instances and under load. | ||
|
||
Before the search feature flag ("avoid-expensive...") can be turned on, the indexing flag must be enabled, and a full reindex performed. Otherwise publicly available objects are NOT going to be shown in search results. | ||
|
||
For details see https://dataverse-guide--10555.org.readthedocs.build/en/10555/installation/config.html#feature-flags and #10555. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters