-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
XWIKI-22820: Solr field cache uses a lot of RAM #3845
Conversation
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison.
I'm not sure it worth it. Those who don't have memory problems with Solr don't critically need this, and it's always annoying to have to reindex everything. That being said, it's now (16.10.0+) much easier to trigger a re-creation of the embedded Solr core (by updating the search schema version at https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/EmbeddedSolr.java#L93). |
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison. (cherry picked from commit 062dabe)
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison. (cherry picked from commit 062dabe)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison. (cherry picked from commit 062dabe)
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison. (cherry picked from commit 062dabe)
* Configure the "string" field type with docValues="true" as in the default configuration. In tests, this eliminates all fields in the field cache apart from the caches for title_sort and author_display_sort, which seem small in comparison.
Jira URL
https://jira.xwiki.org/browse/XWIKI-22820
Changes
Description
Clarifications
Screenshots & Video
No UI changes.
Executed Tests
Manual tests as mentioned above.
Expected merging strategy